-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 3.34 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
{
"name": "react-ssr",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "cross-env PORT=8000 react-app-rewired start",
"build": "react-app-rewired build",
"analyze": "cross-env ANALYZE=true react-app-rewired build",
"dev": "npm-run-all --parallel dev:**",
"dev:build:client": "webpack --config config/webpack.client.js --watch",
"dev:build:server": "webpack --config config/webpack.server.js --watch",
"dev:start": "nodemon ./bundle/bundle.js",
"jingxiang": "npm-run-all --parallel jx:**",
"jx:build:client": "cross-env NODE_ENV=production webpack --config config/webpack.client.js",
"jx:build:server": "cross-env NODE_ENV=production webpack --config config/webpack.server.js",
"j:start": "cross-env NODE_ENV=production pm2 start ./bundle/bundle.js",
"pro": "npm-run-all --parallel pro:**",
"pro:build:client": "cross-env NODE_ENV=production PUBLIC_PATH=https://cdn.jsdelivr.net/gh/hzfvictory/cdn/ssr/ webpack --config config/webpack.client.js",
"pro:build:server": "cross-env NODE_ENV=production webpack --config config/webpack.server.js",
"product": "pm2 start pm2.json"
},
"dependencies": {
"@ant-design/icons": "^4.2.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"antd": "^4.6.1",
"axios": "^0.19.2",
"classnames": "^2.2.6",
"dva-core": "^2.0.2",
"dva-loading": "^3.0.20",
"js-cookie": "^2.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^6.1.0",
"react-loadable": "^5.5.0",
"react-redux": "^7.2.0",
"react-router": "^5.2.0",
"react-router-config": "^5.1.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"react-transition-group": "^4.4.1",
"redux": "^4.0.5",
"serialize-javascript": "^4.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-decorators": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.3",
"@babel/preset-env": "^7.10.3",
"@babel/register": "^7.10.3",
"antd-dayjs-webpack-plugin": "^1.0.0",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.13.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.0.3",
"cross-env": "^7.0.2",
"customize-cra": "^1.0.0",
"isomorphic-style-loader": "^5.1.0",
"koa": "^2.13.0",
"koa-router": "^9.0.1",
"koa-static": "^5.0.0",
"koa2-connect": "^1.0.2",
"less": "^3.11.3",
"less-loader": "^6.1.3",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"react-app-rewired": "^2.1.6",
"terser-webpack-plugin": "^3.0.6",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12",
"webpack-merge": "^4.2.2",
"webpack-node-externals": "^1.7.2",
"webpackbar": "^4.0.0"
},
"eslintConfig": {
"extends": "react-app",
"globals": {
"ENV": true
},
"rules": {
"no-unused-vars": 0,
"jsx-a11y/anchor-is-valid": 0,
"array-callback-return": 0,
"jsx-a11y/alt-text": 0,
"eqeqeq": 0
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}