Skip to content

Commit c670d76

Browse files
committed
Remove babel-preset-stage-0 & Bump version
1 parent e6fff51 commit c670d76

File tree

3 files changed

+603
-833
lines changed

3 files changed

+603
-833
lines changed

package.json

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-cool-starter",
3-
"version": "2.5.3",
3+
"version": "2.5.4",
44
"description": "A starter boilerplate for an universal web application with the best development experience and best practices.",
55
"main": "index.js",
66
"engines": {
@@ -120,19 +120,13 @@
120120
}
121121
],
122122
"@babel/preset-react",
123-
[
124-
"@babel/preset-stage-0",
125-
{
126-
"decoratorsLegacy": true,
127-
"pipelineProposal": "minimal"
128-
}
129-
],
130123
"@babel/preset-flow"
131124
],
132125
"plugins": [
133126
"loadable-components/babel",
134127
"dynamic-import-node",
135-
"lodash"
128+
"lodash",
129+
"@babel/plugin-proposal-class-properties"
136130
],
137131
"env": {
138132
"production": {
@@ -273,11 +267,11 @@
273267
"last 2 versions"
274268
],
275269
"dependencies": {
276-
"@babel/preset-env": "^7.0.0-beta.54",
277-
"@babel/preset-flow": "^7.0.0-beta.54",
278-
"@babel/preset-react": "^7.0.0-beta.54",
279-
"@babel/preset-stage-0": "^7.0.0-beta.54",
280-
"@babel/register": "^7.0.0-beta.54",
270+
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.55",
271+
"@babel/preset-env": "^7.0.0-beta.55",
272+
"@babel/preset-flow": "^7.0.0-beta.55",
273+
"@babel/preset-react": "^7.0.0-beta.55",
274+
"@babel/register": "^7.0.0-beta.55",
281275
"asset-require-hook": "^1.2.0",
282276
"autoprefixer": "^9.0.1",
283277
"axios": "^0.18.0",
@@ -290,7 +284,7 @@
290284
"cross-spawn": "^6.0.5",
291285
"css-modules-require-hook": "^4.2.3",
292286
"express": "^4.16.3",
293-
"helmet": "^3.12.2",
287+
"helmet": "^3.13.0",
294288
"history": "^4.7.2",
295289
"hpp": "^0.2.2",
296290
"html-minifier": "^3.5.19",
@@ -305,7 +299,7 @@
305299
"react-dev-utils": "^5.0.1",
306300
"react-dom": "^16.4.1",
307301
"react-helmet": "^5.2.0",
308-
"react-hot-loader": "^4.3.3",
302+
"react-hot-loader": "^4.3.4",
309303
"react-redux": "^5.0.7",
310304
"react-router-config": "^1.0.0-beta.4",
311305
"react-router-dom": "^4.3.1",
@@ -316,11 +310,11 @@
316310
"serve-favicon": "^2.5.0"
317311
},
318312
"devDependencies": {
319-
"@babel/cli": "^7.0.0-beta.54",
320-
"@babel/core": "^7.0.0-beta.54",
313+
"@babel/cli": "^7.0.0-beta.55",
314+
"@babel/core": "^7.0.0-beta.55",
321315
"babel-core": "^7.0.0-bridge.0",
322316
"babel-eslint": "^8.2.6",
323-
"babel-jest": "^23.4.0",
317+
"babel-jest": "^23.4.2",
324318
"babel-loader": "^8.0.0-beta.0",
325319
"babel-plugin-istanbul": "^4.1.6",
326320
"compression-webpack-plugin": "^1.1.11",
@@ -342,29 +336,29 @@
342336
"flow-bin": "^0.77.0",
343337
"friendly-errors-webpack-plugin": "^1.7.0",
344338
"identity-obj-proxy": "^3.0.0",
345-
"imagemin-webpack-plugin": "^2.1.5",
346-
"jest": "^23.4.1",
339+
"imagemin-webpack-plugin": "^2.2.0",
340+
"jest": "^23.4.2",
347341
"lodash-webpack-plugin": "^0.11.5",
348342
"mini-css-extract-plugin": "^0.4.1",
349-
"nock": "^9.4.2",
343+
"nock": "^9.4.3",
350344
"nodemon": "^1.18.3",
351345
"npm-run-all": "^4.1.3",
352346
"optimize-css-assets-webpack-plugin": "^5.0.0",
353347
"postcss": "^7.0.1",
354348
"postcss-loader": "^2.1.6",
355-
"prettier": "^1.13.7",
349+
"prettier": "^1.14.0",
356350
"prettier-stylelint": "^0.4.2",
357351
"raf": "^3.4.0",
358352
"react-test-renderer": "^16.4.1",
359353
"redux-mock-store": "^1.5.3",
360354
"sass-loader": "^7.0.3",
361-
"stylelint": "^9.3.0",
355+
"stylelint": "^9.4.0",
362356
"stylelint-config-recommended-scss": "^3.2.0",
363357
"stylelint-config-standard": "^18.2.0",
364358
"stylelint-scss": "^3.2.0",
365359
"stylelint-webpack-plugin": "^0.10.5",
366360
"url-loader": "^1.0.1",
367-
"webpack": "^4.16.1",
361+
"webpack": "^4.16.3",
368362
"webpack-bundle-analyzer": "^2.13.1",
369363
"webpack-cli": "^3.1.0",
370364
"webpack-dev-middleware": "^3.1.3",

tools/webpack/config.babel.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,13 @@ module.exports = {
132132
presets: [
133133
['@babel/preset-env', { modules: false, useBuiltIns: 'usage' }],
134134
'@babel/preset-react',
135-
[
136-
'@babel/preset-stage-0',
137-
{ decoratorsLegacy: true, pipelineProposal: 'minimal' }
138-
],
139135
'@babel/preset-flow'
140136
],
141137
plugins: [
142138
'react-hot-loader/babel',
143139
'loadable-components/babel',
144-
'lodash'
140+
'lodash',
141+
'@babel/plugin-proposal-class-properties'
145142
],
146143
env: {
147144
production: {

0 commit comments

Comments
 (0)