-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.25 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
{
"name": "my-webpack-project",
"version": "1.0.0",
"description": "My webpack project",
"main": "index.js",
"license": "MIT",
"dependencies": {
"webextension-polyfill": "^0.6.0"
},
"scripts": {
"build": "echo Use build:chrome or build:moz",
"build:chrome": "webpack --env browser=chrome",
"build:moz": "webpack --env browser=moz"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"copy-webpack-plugin": "^6.2.1",
"css-loader": "^5.0.0",
"dotenv-webpack": "^4.0.0",
"dotenv": "^8.2.0",
"file-loader": "^6.1.1",
"generate-json-webpack-plugin": "^2.0.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"lint-staged": "^10.4.1",
"prettier": "^2.1.2",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-subresource-integrity": "^1.5.1",
"webpack": "^5.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css}": [
"prettier --write",
"git add"
]
}
}