-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.08 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 3.08 KB
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
{
"name": "react-ssr-example",
"version": "1.0.0",
"description": "react server side render - step by step",
"main": "/src/server/server.js",
"scripts": {
"start": "npm run dev",
"install:puppeteer": "export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && yarn add puppeteer --dev",
"dev": "webpack-dashboard -- babel-node src/server/server.js",
"prod": "node dist/server/server.js",
"build": "npm run clean && npm run bundle && babel src/ -d dist/",
"build:dev": "npm run clean && webpack --config webpack/webpack.dev.js",
"wds": "webpack-dev-server --config webpack/webpack.config.js --port 8388 --inline --history-api-fallback",
"bundle": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.js",
"clean": "rm -rf dist/",
"lint": "eslint src/**/*"
},
"repository": "git+https://github.com/MrKou47/react-ssr-example.git",
"keywords": [],
"author": "Mrkou47 <koubodehao@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/MrKou47/react-ssr-example/issues"
},
"homepage": "https://github.com/MrKou47/react-ssr-example#readme",
"dependencies": {
"@types/react-router-dom": "^4.2.3",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-system-import-transformer": "^3.1.0",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-universal-import": "^1.4.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"body-parser": "^1.18.2",
"chokidar": "^2.0.0",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"express": "^4.16.2",
"extract-css-chunks-webpack-plugin": "^2.0.18",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-redux": "^5.0.6",
"react-router": "^4.2.0",
"react-router-config": "^1.0.0-beta.4",
"react-router-dom": "^4.2.2",
"react-universal-component": "^2.8.2",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0",
"serve-favicon": "^2.4.5",
"style-loader": "^0.20.1",
"webpack": "^3.10.0",
"webpack-dashboard": "^2.0.0",
"webpack-flush-chunks": "^1.2.3",
"webpack-manifest-plugin": "^1.3.2",
"write-file-webpack-plugin": "^4.2.0",
"xhr-request": "^1.0.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-plugin-css-modules-transform": "^1.4.0",
"babel-plugin-react-css-modules": "^3.3.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"eslint": "^4.17.0",
"eslint-plugin-react": "^7.6.1",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.15.0-rc.8",
"lifecycle-webpack-plugin": "^1.0.13",
"mocha": "^5.2.0",
"puppeteer": "^1.5.0",
"webpack-dev-middleware": "^2.0.4",
"webpack-dev-server": "^2.11.1",
"webpack-hot-middleware": "^2.21.0"
},
"husky": {
"hooks": {
"pre-push": "npm run lint"
}
}
}