forked from Bigerfe/koa-react-ssr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.82 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
{
"name": "zz-ssr",
"version": "1.2.0",
"description": "",
"main": "index.js",
"scripts": {
"dev-t": "node ./webpack/scripts/free-port.js && node ./webpack/scripts/compile.js && node ./app.js",
"dev": "cross-env BABEL_ENV=node node ./webpack/scripts/compile.js && node ./webpack/scripts/free-port.js && cross-env BABEL_ENV=development node ./webpack/scripts/start.js --scripts",
"dev:csr": "node ./webpack/scripts/compile.js && node ./webpack/scripts/free-port.js && cross-env EnvDevByWds=1 node ./webpack/scripts/start.js --scripts",
"test": "echo \"Error: no test specified\" && exit 1",
"babel-node": "babel --no-babelrc server -d dist/server/server --plugins=@babel/plugin-transform-modules-commonjs --presets=@babel/preset-react",
"babel": "cross-env BABEL_ENV=node babel server -d dist/server/server",
"babel-csfile": "cross-env BABEL_ENV=node babel src -d dist/server/src",
"build": "npm run babel && npm run babel-csfile && npm run copy-no-js && webpack --config webpack/webpack.config.prod.js",
"build:start": "cross-env SimulateProduction=1 node app.js env:development",
"chai-link-all": "node ./webpack/scripts/danymic-link.js --all",
"chai-api": "node ./webpack/scripts/danymic-link.js --api",
"chai-routes": "node ./webpack/scripts/danymic-link.js --routes",
"copy-no-js": "node ./webpack/scripts/copy-not-js.js",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
},
"author": "bigerfe.com zjp",
"license": "ISC",
"dependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/polyfill": "^7.6.0",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.5.4",
"@babel/runtime-corejs3": "^7.6.2",
"antd": "^3.20.0",
"autoprefixer": "^9.6.0",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.12.0",
"babel-template": "^6.26.0",
"braft-editor": "^2.3.7",
"clean-webpack-plugin": "^3.0.0",
"core-js": "^3.1.4",
"cross-env": "^5.2.1",
"css-loader": "^3.0.0",
"ejs": "^2.6.2",
"file-loader": "^4.2.0",
"glob": "^7.1.4",
"html-webpack-plugin": "^3.2.0",
"i": "^0.3.6",
"immutability-helper": "^3.0.1",
"koa-body": "^4.1.0",
"koa-bodyparser": "^4.2.1",
"koa-convert": "^1.2.0",
"koa-json": "^2.0.2",
"koa-static": "^5.0.0",
"koa-webpack-dev-middleware": "^2.0.2",
"koa-webpack-hot-middleware": "^1.0.3",
"koa2": "^2.0.0-alpha.7",
"mini-css-extract-plugin": "^0.7.0",
"mysql": "^2.17.1",
"node-fetch": "^2.6.0",
"node-sass": "^4.12.0",
"npm": "^6.9.2",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.1",
"react-router-config": "^5.0.1",
"react-router-dom": "^5.0.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.1.3",
"url-loader": "^2.0.1",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.4",
"webpack-manifest-plugin": "^2.0.4",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"chalk": "^2.4.2",
"chokidar": "^3.0.1",
"cross-spawn": "^6.0.5",
"eslint": "^6.2.2",
"friendly-errors-webpack-plugin": "^1.7.0",
"koa-webpack": "^5.2.3",
"memeye": "^1.0.3",
"progress-bar-webpack-plugin": "^1.12.1",
"react-hot-loader": "^4.11.1",
"vuepress": "^1.0.4",
"webpack-dashboard": "^3.0.7",
"webpack-dev-middleware": "^3.7.0",
"webpack-dev-server": "^3.7.2",
"webpack-hot-middleware": "^2.25.0"
}
}