-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.74 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.74 KB
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
{
"name": "h5_template",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"scripts": {
"prettier-format": "prettier --config .prettierrc \"src/**/*.js\" \"src/**/*.ts\" \"src/**/*.tsx\" --write",
"dev": "yarn start",
"lint": "yarn lint:es && yarn lint:style",
"lint:es": "eslint . --fix",
"lint:style": "stylelint --fix \"src/**/*.scss\"",
"build": "webpack --config ./config/webpack/webpack.config.js",
"build:rc": "cross-env NODE_ENV=rc API_ENV=rc webpack --config ./config/webpack/webpack.config.js",
"build:prod": "cross-env NODE_ENV=production API_ENV=production webpack --config ./config/webpack/webpack.config.js",
"start": "cross-env NODE_ENV=development webpack serve --config ./config/webpack/webpack.config.js",
"analyzer": "yarn build --analyze",
"analyzer:prod": "yarn build:prod --analyze",
"prepare": "node node_modules/husky-ci"
},
"author": "cweb130@163.com",
"engines": {
"node": ">=14.18.1"
},
"dependencies": {
"@reduxjs/toolkit": "^1.6.2",
"axios": "^0.24.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-router-dom": "^6.0.1"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@types/react": "^17.0.34",
"@types/react-dom": "^17.0.11",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"babel-loader": "8.2.2",
"core-js": "^3.20.2",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.1.1",
"eslint": "^8.2.0",
"eslint-config-booheefe": "^1.2.10",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"fork-ts-checker-webpack-plugin": "^6.4.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"husky-ci": "^1.0.7",
"lint-staged": "^12.1.2",
"mini-css-extract-plugin": "^2.4.4",
"postcss-loader": "^6.2.0",
"postcss-preset-env": "^6.7.0",
"postcss-px-to-viewport": "^1.1.1",
"prettier": "^2.4.1",
"sass": "^1.44.0",
"sass-loader": "^12.3.0",
"style-loader": "^3.3.1",
"stylelint": "^14.0.1",
"stylelint-config-standard": "^24.0.0",
"typescript": "^4.4.4",
"webpack": "^5.65.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.4.0",
"webpack-merge": "^5.8.0",
"webpackbar": "^5.0.2"
}
}