-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.78 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
{
"name": "react-ssr",
"version": "1.0.0",
"description": "",
"main": "./src/index.ts",
"scripts": {
"dev": "rimraf ./client-bundle && rimraf ./server-bundle && NODE_ENV=production babel-node ./serve/index.js",
"run": "npm run build:client && npm run build:serve && npm run start",
"start": "node ./server-bundle/js/main.js",
"start:client": "NODE_ENV=development webpack-dev-server --config ./config/webpack.client.config.js --progress",
"build:client": "rimraf ./client-bundle && NODE_ENV=production webpack --config ./config/webpack.client.config.js --progress",
"build:serve": "rimraf ./server-bundle && NODE_ENV=production webpack --config ./config/webpack.serve.config.js --progress",
"babel": "babel src -d dist"
},
"keywords": [],
"author": "lwang",
"license": "ISC",
"dependencies": {
"@loadable/component": "^5.15.0",
"@loadable/server": "^5.15.1",
"antd": "^4.16.13",
"fs-extra": "^10.0.0",
"global": "^4.4.0",
"koa": "^2.13.1",
"koa-static": "^5.0.0",
"koa-static-cache": "^5.1.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-config": "^5.1.1",
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime-corejs3": "^7.15.3",
"@loadable/babel-plugin": "^5.13.2",
"@loadable/webpack-plugin": "^5.15.1",
"@types/fs-extra": "^9.0.12",
"@types/koa": "^2.13.4",
"@types/loadable__component": "^5.13.4",
"@types/loadable__server": "^5.12.6",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/react-router-config": "^5.0.3",
"@types/react-router-dom": "^5.1.8",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.13.3",
"babel-preset-react-app": "^10.0.0",
"css-loader": "^6.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.2",
"isomorphic-style-loader": "^5.3.0",
"koa-webpack": "^6.0.0",
"less": "^4.1.1",
"less-loader": "^10.0.1",
"mini-css-extract-plugin": "^2.2.0",
"postcss-loader": "^6.1.1",
"react-hot-loader": "^4.13.0",
"rimraf": "^3.0.2",
"style-loader": "^3.2.1",
"typescript": "^4.3.5",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^4.1.1",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
"webpack-dev-middleware": "^5.0.0",
"webpack-dev-server": "^4.0.0",
"webpack-hot-client": "^4.2.0",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0"
},
"theme": {
"primary-color": "#f68b0e",
"color-text-base": "#fff",
"brand-primary-tap": "#f7a03a"
}
}