-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpackage.json
140 lines (140 loc) · 4.32 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "react-template",
"version": "1.1.0",
"description": "react-template",
"main": "index.js",
"license": "MIT",
"author": {
"name": "guokaigdg"
},
"contributors": [
{
"name": "guokaigdg",
"email": "guokaigdg@gmail.com",
"url": "https://github.com/guokaigdg"
}
],
"keywords": [
"React",
"JSX",
"TSX",
"Webpack",
"React Router",
"ESLint",
"template"
],
"homepage": "./react-enterprise-template",
"scripts": {
"dev": "npm run start",
"start": "env-cmd -r .env.json -e development node webpack/server",
"build:qa": "env-cmd -r .env.json -e qa webpack --config ./webpack/config/webpack.prod.js",
"build:prod": "env-cmd -r .env.json -e production webpack --config ./webpack/config/webpack.prod.js",
"clean": "rm -rf node_modules",
"deploy": "npm run build:prod && gh-pages -d build"
},
"engines": {
"node": ">= 18.0.0",
"npm": ">= 7.0.0",
"yarn": ">= 1.22.4"
},
"browserslist": [
">0.2%",
"not dead",
"ie >= 9",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint --config .commitlintrc.js -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --config .eslintrc.js"
],
"*.{css,less,scss}": [
"stylelint --config .stylelintrc.js"
],
"*.{ts,tsx,js,json,html,yml,css,less,scss,md}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@babel/runtime-corejs3": "^7.23.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@types/webpack-env": "^1.18.3",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.3",
"chalk": "4.1.2",
"classnames": "^2.5.1",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.33.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^5.0.1",
"detect-port-alt": "^1.1.6",
"env-cmd": "^10.1.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"gh-pages": "^5.0.0",
"globals": "^15.14.0",
"html-webpack-plugin": "^5.5.3",
"husky": "^9.1.7",
"ip": "^1.1.8",
"less": "^4.2.1",
"less-loader": "^12.2.0",
"lint-staged": "^13.3.0",
"mini-css-extract-plugin": "^2.7.6",
"postcss": "^8.4.31",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-less": "^6.0.0",
"postcss-loader": "^8.1.1",
"postcss-normalize": "^13.0.1",
"postcss-preset-env": "^10.1.3",
"prettier": "^3.4.2",
"style-loader": "^3.3.2",
"stylelint": "^16.10.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^36.0.1",
"stylelint-less": "^3.0.1",
"svg-sprite-loader": "^6.0.11",
"terser-webpack-plugin": "^5.3.9",
"typescript": "^5.7.3",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^6.0.1",
"webpackbar": "^7.0.0"
},
"dependencies": {
"@phosphor-icons/react": "^2.0.14",
"axios": "^1.7.9",
"axios-retry": "^4.5.0",
"mobx": "^6.13.5",
"mobx-react-lite": "^4.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.1.1"
},
"volta": {
"node": "22.12.0",
"npm": "9.6.6",
"yarn": "1.22.19"
}
}