-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·78 lines (78 loc) · 2.53 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
{
"name": "weather-react-ssr",
"version": "2.0.0",
"dependencies": {
"antd": "^3.23.6",
"dva": "^2.4.1",
"dva-loading": "^3.0.14",
"egg": "^2.21.0",
"egg-cors": "^2.2.3",
"egg-proxy": "^1.1.0",
"egg-scripts": "^2.11.0",
"egg-static": "^2.2.0",
"egg-validate": "^2.0.2",
"isomorphic-fetch": "^2.2.1",
"react": "16.8.3",
"react-dev-utils": "^8.0.0",
"react-dom": "16.8.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.0.0",
"url-search-params": "^1.1.0",
"ykfe-utils": "^2.0.2"
},
"scripts": {
"debug": "egg-bin debug",
"start": "rimraf dist && concurrently \"npm run ssr\" \" npm run csr \"",
"ssr": "concurrently \"egg-bin dev\" \"cross-env NODE_ENV=development webpack --watch --config ./build/webpack.config.server.js\"",
"csr": "cross-env NODE_ENV=development ykcli dev",
"prod": "npm run build && eggctl start",
"build:server": "cross-env NODE_ENV=production webpack --config build/webpack.config.server.js",
"build:client": "cross-env NODE_ENV=production ykcli build",
"build": "rimraf dist && npm run build:client && npm run build:server",
"analyze": "cross-env NODE_ENV=production npm_config_report=true npm run build"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 9",
"not op_mini all"
],
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.5.5",
"babel-loader": "8.0.4",
"babel-plugin-import": "^1.12.2",
"browserslist": "^4.6.3",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"css-hot-loader": "^1.4.3",
"css-loader": "1.0.0",
"css-modules-require-hook": "^4.2.3",
"egg-bin": "^4.13.1",
"file-loader": "2.0.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.5.0",
"optimize-css-assets-webpack-plugin": "5.0.1",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "^6.0.5",
"postcss-safe-parser": "4.0.1",
"rimraf": "^2.6.3",
"terser-webpack-plugin": "^1.2.0",
"url-loader": "1.1.1",
"webpack": "4.19.1",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.3.3",
"webpack-dev-server": "3.3.1",
"webpack-manifest-plugin": "^2.0.4",
"webpack-merge": "^4.1.4",
"webpack-node-externals": "^1.7.2",
"yk-cli": "^2.0.0"
}
}