-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 5.6 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "react-boilerplate",
"version": "1.1.5",
"description": "",
"scripts": {
"build": "cross-env NODE_ENV=production ESLINT=true webpack --config internals/webpack/webpack.config.prod.js ",
"build:nolint": "cross-env NODE_ENV=production ESLINT=false webpack --config internals/webpack/webpack.config.prod.js",
"docker-prod:build": "docker-compose -f ./docker/docker-compose.yml build",
"docker-prod:start": "docker-compose -f ./docker/docker-compose.yml up",
"docker-prod:stop": "docker-compose -f ./docker/docker-compose.yml stop",
"docker:build": "docker-compose -f ./docker/docker-compose.dev.yml build",
"docker:start": "docker-compose -f ./docker/docker-compose.dev.yml up",
"docker:stop": "docker-compose -f ./docker/docker-compose.dev.yml stop",
"start": "cross-env NODE_ENV=development node server --proxy",
"start:production": "yarn run build && yarn run start:prod",
"start:prod": "cross-env NODE_ENV=production node server",
"start:mock": "cross-env NODE_ENV=development babel-node server --presets @babel/env --mock",
"start:noproxy": "cross-env NODE_ENV=development node server",
"commit": "git-cz",
"lint-staged": "lint-staged",
"lint:js": "eslint --quiet --fix --ext '.js,.jsx' src",
"lint:prettier": "prettier -c --write \"**/*\"",
"lint:style": "stylelint --fix 'src/**/*.less' --syntax less",
"release": "standard-version",
"test": "jest --color",
"test:watch": "jest --color --watchAll",
"prepare": "husky install"
},
"author": "zxj963577494",
"homepage": "https://github.com/zxj963577494",
"license": "MIT",
"lint-staged": {
"src/**/*.{css,less,scss}": [
"stylelint --fix",
"git add"
],
"src/**/*.{json,html,css,less,scss,md,yaml,yml}": [
"prettier -c --write",
"git add"
],
"src/**/*.{js,jsx}": [
"eslint --fix --ext",
"prettier -c --write",
"import-sort --write",
"git add"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10",
"Android >= 4.4",
"iOS >= 8"
],
"importSort": {
".js, .jsx": {
"parser": "babylon",
"style": "react"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@babel/runtime": "^7.14.6",
"@babel/runtime-corejs3": "^7.14.7",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/node": "^7.14.7",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-private-methods": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"autoprefixer": "^10.3.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.13.3",
"chalk": "^4.1.1",
"clean-webpack-plugin": "^4.0.0-alpha.0",
"commitizen": "^4.2.4",
"compression": "^1.7.4",
"compression-webpack-plugin": "^8.0.1",
"cross-env": "^7.0.3",
"css-loader": "^6.1.0",
"css-minimizer-webpack-plugin": "^3.0.2",
"cz-conventional-changelog": "3.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.31.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-loader": "4.0.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-compat": "^3.11.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"express": "^4.17.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^5.3.2",
"http-proxy-middleware": "^2.0.1",
"husky": "^7.0.1",
"identity-obj-proxy": "^3.0.0",
"import-sort-cli": "^6.0.0",
"import-sort-parser-babylon": "^6.0.0",
"import-sort-parser-typescript": "^6.0.0",
"import-sort-style-react": "^5.1.0",
"ip": "^1.1.5",
"jest": "^27.0.6",
"less": "^4.1.1",
"less-loader": "^10.0.1",
"lint-staged": "^11.0.1",
"mini-css-extract-plugin": "^2.1.0",
"minimist": "^1.2.5",
"mockjs": "^1.1.0",
"node-sass": "^6.0.1",
"postcss": "^8.3.5",
"postcss-import": "^14.0.2",
"postcss-load-config": "^3.1.0",
"postcss-loader": "^6.1.1",
"postcss-preset-env": "^6.7.0",
"postcss-url": "^10.1.3",
"prettier": "^2.3.2",
"progress-bar-webpack-plugin": "^2.1.0",
"react-dev-utils": "^11.0.4",
"react-refresh": "^0.10.0",
"standard-version": "^9.3.1",
"style-loader": "^3.1.0",
"stylelint": "^13.13.1",
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-recommended": "^5.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.3.0",
"stylelint-order": "^4.1.0",
"terser-webpack-plugin": "^5.1.4",
"umi-mock": "^2.1.4",
"webpack": "^5.45.1",
"webpack-cli": "^4.7.2",
"webpack-dev-middleware": "^5.0.0",
"webpack-hot-middleware": "^2.25.0"
},
"engines": {
"node": ">=12.0.0"
},
"resolutions": {
"browserslist": "4.16.6",
"caniuse-lite": "1.0.30001219"
}
}