|
8 | 8 | "env": { |
9 | 9 | "DEBUG": "boldr:*", |
10 | 10 | "NODE_ENV": "production", |
11 | | - "BABEL_ENV": "client", |
| 11 | + "BABEL_ENV": "production", |
12 | 12 | "SSR_PORT": 3000 |
13 | 13 | } |
14 | 14 | }, |
15 | 15 | "build:server": { |
16 | 16 | "command": "./node_modules/.bin/webpack --config tools/webpack/webpack.config.node.js", |
17 | 17 | "env": { |
18 | 18 | "NODE_ENV": "production", |
19 | | - "BABEL_ENV": "server", |
| 19 | + "BABEL_ENV": "production", |
20 | 20 | "SSR_PORT": 3000 |
21 | 21 | } |
22 | 22 | }, |
|
25 | 25 | "env": { |
26 | 26 | "DEBUG": "boldr:*", |
27 | 27 | "NODE_ENV": "development", |
28 | | - "BABEL_ENV": "client", |
| 28 | + "BABEL_ENV": "development", |
29 | 29 | "SSR_PORT": 3000, |
30 | 30 | "HMR_PORT": 3001, |
31 | 31 | "WEBPACK_DLLS": 1 |
|
36 | 36 | "env": { |
37 | 37 | "DEBUG": "boldr:*", |
38 | 38 | "NODE_ENV": "development", |
39 | | - "BABEL_ENV": "client", |
| 39 | + "BABEL_ENV": "development", |
40 | 40 | "SSR_PORT": 3000, |
41 | 41 | "HMR_PORT": 3001, |
42 | 42 | "WEBPACK_DLLS": 1 |
|
59 | 59 | } |
60 | 60 | }, |
61 | 61 | "scripts": { |
62 | | - "build": "npm-run-all -s build:server build:client", |
| 62 | + "build": "npm-run-all -s clean build:server build:client", |
63 | 63 | "build:client": "better-npm-run build:client", |
64 | 64 | "build:server": "better-npm-run build:server", |
65 | 65 | "build:dlls": "webpack --verbose --colors --display-error-details --config ./tools/webpack/dll.config.js", |
|
126 | 126 | "instrument": false |
127 | 127 | }, |
128 | 128 | "devDependencies": { |
| 129 | + "assets-webpack-plugin": "^3.4.0", |
129 | 130 | "autoprefixer": "^6.4.1", |
130 | 131 | "babel-core": "^6.14.0", |
131 | 132 | "babel-loader": "^6.2.5", |
132 | 133 | "babel-plugin-istanbul": "^2.0.1", |
133 | 134 | "babel-plugin-lodash": "^3.2.9", |
134 | 135 | "babel-plugin-module-resolver": "^2.2.0", |
135 | | - "babel-plugin-transform-class-properties": "^6.11.5", |
136 | | - "babel-plugin-transform-decorators-legacy": "^1.3.4", |
137 | | - "babel-plugin-transform-object-rest-spread": "^6.8.0", |
138 | | - "babel-plugin-transform-react-constant-elements": "^6.9.1", |
139 | | - "babel-plugin-transform-react-inline-elements": "^6.8.0", |
140 | | - "babel-plugin-transform-runtime": "^6.15.0", |
141 | 136 | "babel-polyfill": "^6.13.0", |
142 | | - "babel-preset-latest": "^6.14.0", |
143 | | - "babel-preset-react": "^6.11.1", |
| 137 | + "babel-preset-boldr": "^1.0.1", |
144 | 138 | "babel-register": "^6.14.0", |
145 | 139 | "chai": "^3.5.0", |
146 | 140 | "chai-enzyme": "^0.5.1", |
|
174 | 168 | "sinon-chai": "^2.8.0", |
175 | 169 | "style-loader": "^0.13.1", |
176 | 170 | "url-loader": "^0.5.7", |
177 | | - "webpack": "^2.1.0-beta.24", |
| 171 | + "webpack": "^2.1.0-beta.25", |
178 | 172 | "webpack-dev-middleware": "^1.8.2", |
179 | 173 | "webpack-hot-middleware": "^2.12.2", |
180 | 174 | "webpack-node-externals": "^1.4.3" |
|
185 | 179 | "compression": "^1.6.2", |
186 | 180 | "debug": "^2.2.0", |
187 | 181 | "express": "^4.14.0", |
188 | | - "lodash": "^4.16.1", |
| 182 | + "lodash": "^4.16.2", |
189 | 183 | "npm-run-all": "^3.1.0", |
190 | 184 | "react": "^15.3.2", |
191 | 185 | "react-dom": "^15.3.2", |
|
0 commit comments