This repository has been archived by the owner on May 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
59 lines (59 loc) · 1.97 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
{
"name": "universal-react-demo",
"version": "0.5.0",
"description": "A super slim demo of react, react-router, and server-side rendering.",
"main": "index.js",
"scripts": {
"start": "[[ $NODE_ENV == 'production' ]] && npm run start:prod || npm run start:dev",
"test": "echo \"Error: no test specified\" && exit 1",
"start:prod": "npm run build && node build/server.js",
"start:dev": "webpack-dev-server --hot --progress --host 0.0.0.0 --port 8000 --env.base=client",
"build": "npm run build:client && npm run build:server",
"build:server": "webpack --env.base=server",
"build:client": "webpack --env.base=client"
},
"repository": {
"type": "git",
"url": "git+https://github.com/5tefan/universal-react-demo.git"
},
"author": "Stefan Codrescu",
"license": "MIT",
"bugs": {
"url": "https://github.com/5tefan/universal-react-demo/issues"
},
"homepage": "https://github.com/5tefan/universal-react-demo",
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"ajv": "^6.10.2",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.2.0",
"extract-text-webpack-plugin": "^3.0.2",
"favicons-webpack-plugin": "1.0.2",
"html-webpack-plugin": "^3.2.0",
"json-loader": "^0.5.7",
"mini-css-extract-plugin": "^0.8.0",
"node-sass": "^4.12.0",
"null-loader": "^3.0.0",
"sass-loader": "^8.0.0",
"source-map-support": "^0.5.13",
"style-loader": "^1.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.2",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"@babel/polyfill": "^7.6.0",
"express": "^4.17.1",
"prop-types": "~15.7.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2"
}
}