-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.12 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": "many-tricks",
"version": "0.0.1",
"description": "record of font-end development tricks",
"scripts": {
"lint": "eslint './src/**/*.{js,jsx,ts,tsx}' --cache --fix",
"lint:style": "stylelint './src/**/*.{less,css,scss}' --config=.stylelintrc.json --fix",
"commit": "git add . && git cz",
"serve:react": "webpack serve --config webpack.config.js"
},
"author": "qunzi0214",
"license": "MIT",
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx}": [
"npm run lint",
"git add"
],
"*.{css,scss,less,js}": [
"npm run lint:style"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.13",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^5.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard-jsx": "^10.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"html-webpack-plugin": "^5.2.0",
"husky": "^4.3.0",
"less": "^4.1.1",
"less-loader": "^8.0.0",
"less-plugin-autoprefix": "^2.0.0",
"lint-staged": "^10.5.2",
"style-loader": "^2.0.0",
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0"
}
}