-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
77 lines (77 loc) · 2.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "web-extension-boilerplate",
"version": "2.1.0",
"description": "Web extension boilerplate",
"main": "background.js",
"scripts": {
"code:lint": "eslint '**/**/*.{ts,tsx}'",
"code:lint-fix": "eslint --fix",
"code:prettier": "prettier --write",
"code:typecheck": "./node_modules/.bin/tsc --noEmit",
"app:chrome": "rimraf dist && cross-env BROWSER='chrome' webpack --config webpack/webpack.prod.js",
"app:chrome-dev": "cross-env BROWSER='chrome' webpack --config webpack/webpack.dev.js --watch",
"app:edge": "rimraf dist && cross-env BROWSER='edge' webpack --config webpack/webpack.prod.js",
"app:edge-dev": "cross-env BROWSER='edge' webpack --config webpack/webpack.dev.js --watch",
"app:firefox": "rimraf dist && cross-env BROWSER='firefox' webpack --config webpack/webpack.prod.js",
"app:firefox-dev": "cross-env BROWSER='firefox' webpack --config webpack/webpack.dev.js --watch",
"lint-staged": "lint-staged",
"test:unit": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davidnguyen179/web-extension-boilerplate.git"
},
"keywords": [
"chrome extension",
"microsoft edge extension",
"firefox addon",
"web extension",
"typescript",
"ts",
"jest",
"sinon"
],
"author": "David Nguyen <dzungnguyen179@gmail.com> (dzungnguyen179@gmail.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/davidnguyen179/web-extension-boilerplate/issues"
},
"homepage": "https://github.com/davidnguyen179/web-extension-boilerplate#readme",
"devDependencies": {
"@babel/core": "7.12.17",
"@babel/preset-env": "7.12.11",
"@babel/preset-typescript": "7.12.7",
"@types/chrome": "0.0.135",
"@types/jest": "26.0.20",
"@types/node": "14.14.20",
"@types/sinon": "^10.0.0",
"@typescript-eslint/eslint-plugin": "4.17.0",
"@typescript-eslint/parser": "4.17.0",
"babel-jest": "26.6.3",
"copy-webpack-plugin": "^8.1.1",
"cross-env": "7.0.3",
"eslint": "7.21.0",
"eslint-plugin-import": "2.22.1",
"husky": "^8.0.1",
"jest": "26.6.3",
"lint-staged": "^13.0.3",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"sinon": "^10.0.0",
"terser-webpack-plugin": "5.1.1",
"ts-jest": "26.4.4",
"ts-loader": "^9.1.1",
"typescript": "4.2.4",
"web-ext-types": "3.2.1",
"webpack": "5.18.0",
"webpack-cli": "4.4.0",
"webpack-merge": "5.7.3",
"whatwg-fetch": "3.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"pnpm code:lint-fix",
"pnpm code:prettier"
]
}
}