-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
224 lines (224 loc) · 6.2 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"name": "react-redux-universal-boilerplate",
"version": "2.2.0",
"author": {
"name": "Kiki le singe"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kiki-le-singe/react-redux-universal-boilerplate"
},
"homepage": "https://github.com/kiki-le-singe/react-redux-universal-boilerplate",
"bugs": "https://github.com/kiki-le-singe/react-redux-universal-boilerplate/issues",
"keywords": [
"starter",
"boilerplate",
"react",
"react-router",
"react-helmet",
"redux",
"es2015",
"es2016",
"es2017",
"babel",
"webpack",
"hot",
"reload",
"hmr",
"hot-loader",
"koa",
"postcss",
"cssnext",
"sass",
"css-modules",
"ssr",
"isomorphic",
"universal",
"karma",
"mocha",
"sinon",
"chai",
"enzyme"
],
"description": "Get started with a Universal boilerplate containing tools like React, Redux, Koa...",
"engines": {
"node": ">=7.6.0",
"npm": "^4.2.0"
},
"main": "src/server/index.js",
"dependencies": {
"@kadira/react-storybook-addon-info": "^3.4.0",
"@kadira/storybook": "^2.21.0",
"autoprefixer": "^6.7.7",
"babel-core": "^6.24.1",
"babel-runtime": "^6.23.0",
"better-npm-run": "0.0.15",
"debug": "^2.6.6",
"extract-text-webpack-plugin": "^2.1.0",
"fs-extra": "^3.0.0",
"globby": "^6.1.0",
"history": "^4.6.1",
"inquirer": "^3.0.6",
"ip": "^1.1.5",
"koa": "^2.2.0",
"koa-compress": "next",
"koa-convert": "^1.2.0",
"koa-helmet": "^3.1.0",
"koa-html-minifier": "^1.0.1",
"koa-proxy": "^0.8.0",
"koa-static": "^3.0.0",
"koa-static-cache": "^5.0.1",
"koa-webpack-dev-middleware": "^1.4.5",
"koa-webpack-hot-middleware": "^1.0.3",
"normalize.css": "^6.0.0",
"prop-types": "^15.5.8",
"purifycss-webpack-plugin": "^2.0.3",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-helmet": "^5.0.3",
"react-hot-loader": "^3.0.0-beta.6",
"react-redux": "^5.0.4",
"react-router-dom": "^4.1.1",
"react-router-redux": "next",
"redux": "^3.6.0",
"redux-logger": "^3.0.1",
"serialize-javascript": "^1.3.0",
"source-map-support": "^0.4.15",
"webpack": "^2.4.1",
"webpack-isomorphic-tools": "^3.0.2",
"webpack-md5-hash": "^0.0.5",
"why-did-you-update": "^0.0.8"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-plugin-istanbul": "^4.1.1",
"babel-plugin-system-import-transformer": "^3.1.0",
"babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.24.1",
"chai": "^3.5.0",
"clean-webpack-plugin": "^0.1.16",
"css-loader": "^0.28.0",
"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.3",
"file-loader": "^0.11.1",
"image-webpack-loader": "^3.3.0",
"json-loader": "^0.5.4",
"karma": "^1.6.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.31",
"karma-webpack": "^2.0.3",
"mocha": "^3.3.0",
"node-sass": "^4.5.2",
"nodemon": "^1.11.0",
"npm-run-all": "^4.0.2",
"postcss": "^5.2.17",
"postcss-cssnext": "^2.10.0",
"postcss-loader": "^1.3.3",
"postcss-smart-import": "^0.6.12",
"react-addons-test-utils": "^15.5.1",
"react-hot-loader": "^3.0.0-beta.6",
"sass-loader": "^6.0.3",
"sinon": "^2.1.0",
"sinon-chai": "^2.9.0",
"style-loader": "^0.16.1",
"url-loader": "^0.5.8",
"webpack-node-externals": "^1.5.4"
},
"scripts": {
"build:client": "better-npm-run build:client",
"build:server": "better-npm-run build:server",
"deploy": "better-npm-run deploy",
"start": "better-npm-run start",
"dev": "better-npm-run dev",
"start:server": "better-npm-run start:server",
"start:client:server": "better-npm-run start:client:server",
"test": "better-npm-run test",
"test:dev": "npm run test -- --watch",
"lint": "eslint src tests --ext .jsx,.js",
"setup": "better-npm-run setup",
"postinstall": "npm run setup",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"betterScripts": {
"dev": {
"command": "npm-run-all --parallel start:client:server start:server",
"env": {
"NODE_ENV": "development",
"DEBUG": "app:*"
}
},
"start": {
"command": "npm run dev",
"env": {
"NODE_ENV": "development",
"BABEL_ENV": "server",
"DEBUG": "app:*"
}
},
"start:client:server": {
"command": "babel-node -- webpack/dev.server",
"env": {
"NODE_ENV": "development",
"DEBUG": "app:*"
}
},
"start:server": {
"command": "nodemon ./node_modules/.bin/babel-node -- src/server/index",
"env": {
"NODE_ENV": "development",
"NODE_PATH": "src",
"DEBUG": "app:*"
}
},
"deploy": {
"command": "npm run build:client && npm run build:server"
},
"build:client": {
"command": "./node_modules/.bin/babel-node node_modules/.bin/webpack --progress --config webpack/prod.config",
"env": {
"NODE_ENV": "production",
"NODE_PATH": "src",
"DEBUG": "app:*"
}
},
"build:server": {
"command": "./node_modules/.bin/babel-node node_modules/.bin/webpack --progress --config webpack/server.config",
"env": {
"NODE_ENV": "production",
"BABEL_ENV": "server",
"NODE_PATH": "src",
"DEBUG": "app:*"
}
},
"test": {
"command": "babel-node node_modules/.bin/karma start",
"env": {
"NODE_ENV": "test",
"DEBUG": "app:*"
}
},
"setup": {
"command": "babel-node bin/setup",
"env": {
"DEBUG": "app:*"
}
}
}
}