update babel packages

This commit is contained in:
Cassie Tarakajian 2018-05-04 17:08:09 -07:00
parent dceff0d4cf
commit 254bbacba2
4 changed files with 388 additions and 481 deletions

View file

@ -1,5 +1,5 @@
{ {
"presets": ["react", "es2015", "stage-0"], "presets": ["react", "env", "stage-0"],
"env": { "env": {
"production": { "production": {
"plugins": [ "plugins": [
@ -7,7 +7,7 @@
"transform-react-constant-elements", "transform-react-constant-elements",
"transform-react-inline-elements" "transform-react-inline-elements"
], ],
"presets": ["es2015", "react", "react-optimize", "es2015-native-modules", "stage-0"] "presets": ["env", "react", "react-optimize", "stage-0"]
} }
} }
} }

853
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,10 +29,8 @@
"babel-plugin-transform-react-inline-elements": "^6.8.0", "babel-plugin-transform-react-inline-elements": "^6.8.0",
"babel-plugin-transform-react-remove-prop-types": "^0.2.6", "babel-plugin-transform-react-remove-prop-types": "^0.2.6",
"babel-plugin-webpack-loaders": "^0.9.0", "babel-plugin-webpack-loaders": "^0.9.0",
"babel-preset-es2015": "^6.6.0", "babel-preset-env": "^1.6.1",
"babel-preset-es2015-native-modules": "^6.9.2",
"babel-preset-react": "^6.5.0", "babel-preset-react": "^6.5.0",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-react-optimize": "^1.0.1", "babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.5.0", "babel-preset-stage-0": "^6.5.0",
"chunk-manifest-webpack-plugin": "^1.1.2", "chunk-manifest-webpack-plugin": "^1.1.2",
@ -43,7 +41,7 @@
"eslint-plugin-import": "^2.2.0", "eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2", "eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.9.0", "eslint-plugin-react": "^6.9.0",
"extract-text-webpack-plugin": "^2.1.2", "extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^0.8.5", "file-loader": "^0.8.5",
"node-sass": "^4.5.3", "node-sass": "^4.5.3",
"nodemon": "^1.9.2", "nodemon": "^1.9.2",
@ -54,7 +52,7 @@
"rimraf": "^2.6.2", "rimraf": "^2.6.2",
"sass-loader": "^6.0.6", "sass-loader": "^6.0.6",
"style-loader": "^0.13.1", "style-loader": "^0.13.1",
"webpack-manifest-plugin": "^1.1.0", "webpack-manifest-plugin": "^2.0.0",
"webpack-node-externals": "^1.7.2" "webpack-node-externals": "^1.7.2"
}, },
"engines": { "engines": {
@ -132,7 +130,7 @@
"srcdoc-polyfill": "^0.2.0", "srcdoc-polyfill": "^0.2.0",
"url": "^0.11.0", "url": "^0.11.0",
"webpack": "^3.1.0", "webpack": "^3.1.0",
"webpack-dev-middleware": "^1.6.1", "webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.10.0", "webpack-hot-middleware": "^2.10.0",
"xhr": "^2.2.1" "xhr": "^2.2.1"
} }

View file

@ -36,7 +36,7 @@ module.exports = {
query: { query: {
presets: [ presets: [
'react', 'react',
'es2015', 'env',
'stage-0', 'stage-0',
], ],
plugins: [ plugins: [