-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
42 lines (42 loc) · 1.37 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
{
"name": "ssr-react-css",
"version": "1.0.0",
"description": "Server side rendering in react with css (without css-in-js).",
"main": "index.js",
"author": "Madhur Garg",
"license": "MIT",
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"request": "^2.88.0"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.5",
"clean-webpack-plugin": "^2.0.1",
"css-loader": "^2.1.1",
"html-webpack-plugin": "^3.2.0",
"ignore-loader": "^0.1.2",
"mini-css-extract-plugin": "^0.6.0",
"node-sass": "^4.11.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.3.1",
"webpack-merge": "^4.2.1",
"webpack-node-externals": "^1.7.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./server/index.js",
"build-client": "webpack --config ./webpack-config/client/webpack.prod.js",
"build-ssr": "webpack --config ./webpack-config/ssr/webpack.ssr.js",
"build": "yarn run build-client && yarn run build-ssr",
"start:dev": "webpack-dev-server --config ./webpack-config/client/webpack.dev.js --host 0.0.0.0 --history-api-fallback"
}
}