-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.56 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
{
"name": "ssr-with-ts",
"version": "2.3.16",
"description": "ykfe",
"dependencies": {
"antd": "^4.9.4",
"egg-scripts": "^2.13.0",
"midway": "^1.0.0",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-router-dom": "^5.1.2",
"serialize-javascript": "^2.1.2",
"ykfe-utils": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.12.10",
"@types/node": "^10.6.0",
"@types/react": "16.9.5",
"@types/react-dom": "16.9.1",
"@types/react-router-dom": "^5.1.0",
"@types/serialize-javascript": "^1.5.0",
"babel-loader": "8.0.4",
"babel-plugin-import": "^1.13.3",
"babel-preset-react-app": "^9.0.2",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"css-hot-loader": "^1.4.3",
"css-loader": "1.0.0",
"egg-proxy": "^1.1.0",
"file-loader": "2.0.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"midway-bin": "1",
"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",
"react-dev-utils": "^8.0.0",
"rimraf": "^2.6.3",
"terser-webpack-plugin": "^1.2.0",
"tslint": "^5.11.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.5.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": "^3.0.0"
},
"engines": {
"node": ">=10.16.0"
},
"scripts": {
"prod": "npm run build && NODE_ENV=production egg-scripts start --title=egg-server-ssr-with-ts --framework=midway --ts",
"start": "concurrently \"npm run ssr\" \"npm run csr\"",
"ssr": "concurrently \"cross-env NODE_ENV=development midway-bin dev --ts\" \"cross-env NODE_ENV=development webpack --watch --config ./build/webpack.config.server.js\"",
"csr": "cross-env NODE_ENV=development ykcli dev",
"build": "midway-bin build -c && npm run build:ssr && npm run build:csr",
"build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.config.server.js",
"build:csr": "cross-env NODE_ENV=production ykcli build"
},
"midway-bin-clean": [
".vscode/.tsbuildinfo",
"dist"
],
"repository": {
"type": "git",
"url": ""
},
"author": "ykfe",
"license": "MIT"
}