-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
139 lines (139 loc) · 4.35 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
{
"name": "react-template",
"version": "1.0.1",
"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": ">= 16.0.0",
"npm": ">= 7.0.0",
"yarn": ">= 1.22.17"
},
"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/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@babel/runtime-corejs3": "^7.23.2",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/webpack-env": "^1.18.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.3",
"chalk": "4.1.2",
"classnames": "^2.3.2",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.33.2",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"detect-port-alt": "^1.1.6",
"env-cmd": "^10.1.0",
"eslint": "^8.53.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"gh-pages": "^5.0.0",
"html-webpack-plugin": "^5.5.3",
"husky": "^8.0.3",
"ip": "^1.1.8",
"less": "^4.2.0",
"less-loader": "^11.1.3",
"lint-staged": "^13.3.0",
"mini-css-extract-plugin": "^2.7.6",
"postcss": "^8.4.31",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^7.3.3",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^8.5.1",
"preload-webpack-plugin": "^3.0.0-beta.4",
"prettier": "^2.8.8",
"style-loader": "^3.3.2",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^29.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-order": "^6.0.3",
"svg-sprite-loader": "^6.0.11",
"terser-webpack-plugin": "^5.3.9",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "3.11.2",
"webpack-merge": "^5.10.0",
"webpackbar": "^5.0.2"
},
"dependencies": {
"@phosphor-icons/react": "^2.0.14",
"axios": "^1.6.0",
"axios-retry": "^3.8.1",
"mobx": "^6.10.2",
"mobx-react-lite": "^3.4.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.18.0"
},
"volta": {
"node": "18.16.0",
"npm": "9.6.6",
"yarn": "1.22.19"
}
}