-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 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
78
79
{
"name": "react-static-site-template",
"version": "1.2.1",
"main": "dist/index.js",
"repository": "https://github.com/YuCJ/react-static-site-template.git",
"author": "yucj <[email protected]>",
"private": true,
"license": "MIT",
"scripts": {
"dev": "NODE_ENV=development webpack serve --config ./webpack.config.dev.js --mode=development",
"build": "NODE_ENV=production webpack --config ./webpack.config.base.js --mode=production && mv -f ./dist/index.html ./index.html",
"build:commit": "npm run build && git add dist index.html && git commit -m \"chore: update dist\"",
"release": "standard-version && git push --follow-tags origin master",
"lint": "eslint ./src/**/*.js && stylelint ./src/**/*.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run lint"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix",
"stylelint --allow-empty-input",
"git add"
],
"*.{json,css,md,html,htm}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.23.10",
"@babel/node": "^7.23.9",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"babel-loader": "^9.1.3",
"babel-plugin-styled-components": "^2.1.4",
"clean-webpack-plugin": "^4.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"postcss-styled-syntax": "^0.6.4",
"prettier": "3.2.5",
"react-refresh": "^0.14.0",
"rimraf": "^5.0.5",
"standard-version": "^9.0.0",
"stylelint": "^16.2.1",
"stylelint-config-recommended": "^14.0.0",
"stylelint-config-standard": "^36.0.0",
"webpack": "^5.90.3",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^3.11.3"
},
"dependencies": {
"@babel/plugin-transform-class-properties": "^7.23.3",
"core-js": "^3.36.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^6.1.8"
}
}