-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.62 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
{
"name": "webpack_demo",
"version": "1.0.0",
"description": "前端打包工具webpack基础配置",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:dev": "webpack --mode=development",
"build:prod": "webpack --mode=production",
"prepare": "husky install",
"pre-commit": "prettier --write . && eslint --ext .js src/* --fix",
"commit": "git add . && cz"
},
"keywords": [],
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/webpack-boost/webpack_demo.git"
},
"bugs": {
"url": "https://github.com/webpack-boost/webpack_demo/issues"
},
"homepage": "https://github.com/webpack-boost/webpack_demo#readme",
"devDependencies": {
"@commitlint/config-conventional": "^17.4.0",
"commitizen": "^4.2.6",
"commitlint": "^17.4.0",
"commitlint-config-gitmoji": "^2.2.9",
"css-loader": "^6.7.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
"cz-emoji": "1.3.2-canary.2",
"eslint": "^8.31.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"lint-staged": "^13.1.0",
"prettier": "2.8.2",
"style-loader": "^3.3.1",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@types/node": "^18.11.18"
},
"lint-staged": {
"src/*.js": [
"prettier --write",
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
}
}