-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
43 lines (43 loc) · 1.48 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
{
"name": "server-render",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build:server": "webpack --config build/webpack.config.server.js --mode production",
"build:client": "webpack --config build/webpack.config.client.js --mode production",
"dev:server": "cross-env NODE_ENV=development node ./server/server.js --mode development",
"dev:client": "cross-env NODE_ENV=development webpack-dev-server --config build/webpack.config.client.js --mode development",
"clear": "rimraf ./dist",
"build": "npm run clear && npm run build:client && npm run build:server",
"start": "node ./server/server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.16.4",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"webpack": "^4.28.3"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-0": "^7.0.0",
"axios": "^0.18.0",
"babel-loader": "^8.0.5",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"cross-env": "^5.2.0",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.19.1",
"memory-fs": "^0.4.1",
"react-hot-loader": "^4.6.3",
"react-router-dom": "^4.3.1",
"rimraf": "^2.6.3",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14"
}
}