-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 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
101
102
103
104
105
106
107
108
109
110
{
"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",
"dev": "cross-env NODE_ENV=development ts-node src/server/server.ts",
"prod": "cross-env NODE_ENV=production node dist/server/server.js",
"build": "npm run clean && npm run build:client && npm run build:server",
"build:client": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.js",
"build:server": "tsc --outDir 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": "tslint src/**/*.ts src/**/*.tsx"
},
"repository": "git+https://github.com/MrKou47/react-ssr-example.git",
"keywords": [],
"author": "Mrkou47 <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/MrKou47/react-ssr-example/issues"
},
"homepage": "https://github.com/MrKou47/react-ssr-example#readme",
"dependencies": {
"@babel/core": "^7.1.5",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.5",
"@babel/preset-react": "^7.0.0",
"asset-require-hook": "^1.2.0",
"babel-core": "^6.26.0",
"babel-loader": "^8.0.4",
"babel-plugin-universal-import": "2",
"body-parser": "^1.18.2",
"chokidar": "^2.0.0",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"css-modules-require-hook": "^4.2.3",
"express": "^4.16.2",
"extract-css-chunks-webpack-plugin": "^2.0.18",
"file-loader": "^1.1.11",
"prop-types": "^15.6.0",
"raw-loader": "^0.5.1",
"raw-module-require-hook": "^1.0.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": "^4.0.1",
"redux-thunk": "^2.3.0",
"serve-favicon": "^2.4.5",
"source-map-loader": "^0.2.4",
"string-replace-loader": "^1.3.0",
"style-loader": "^0.20.1",
"ts-babel-node": "^1.1.1",
"ts-loader": "^3.5.0",
"ts-node": "^4.1.0",
"tslint-react": "^3.5.1",
"typescript": "2.9",
"webpack": "^3.10.0",
"webpack-flush-chunks": "^1.2.3",
"webpack-manifest-plugin": "^1.3.2",
"webpack-merge": "^4.1.3",
"write-file-webpack-plugin": "^4.2.0",
"xhr-request": "^1.0.1"
},
"devDependencies": {
"@types/chokidar": "^1.7.4",
"@types/express": "^4.11.1",
"@types/node": "^10.3.4",
"@types/prop-types": "^15.5.2",
"@types/react-dom": "^16.0.4",
"@types/react-redux": "^5.0.15",
"@types/react-router-config": "^1.0.6",
"@types/react-router-dom": "^4.2.3",
"@types/redux": "^3.6.0",
"@types/webpack": "^3.8.8",
"@types/webpack-dev-middleware": "^2.0.0",
"@types/webpack-env": "^1.13.5",
"@types/webpack-hot-middleware": "^2.16.2",
"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",
"eslint": "^4.17.0",
"eslint-plugin-react": "^7.6.1",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.15.0-rc.8",
"tslint": "^5.9.1",
"tslint-config-airbnb": "^5.6.0",
"tslint-react-recommended": "^1.0.15",
"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"
}
}
}