Skip to content

Instantly share code, notes, and snippets.

@yokada
Last active September 4, 2018 21:22
Show Gist options
  • Save yokada/1f8b20d1f4a33cf8b73f12cb899d46bf to your computer and use it in GitHub Desktop.
Save yokada/1f8b20d1f4a33cf8b73f12cb899d46bf to your computer and use it in GitHub Desktop.
Upgrade to babel 7.0.0 from older version
diff --git a/package.json b/package.json
index 13f488f..e6e9071 100644
--- a/package.json
+++ b/package.json
@@ -15,8 +15,6 @@
},
"dependencies": {
"awilix": "^3.0.9",
"bluebird": "^3.5.1",
"co": "^4.6.0",
"config": "^1.31.0",
"lodash": "^4.17.10",
"mysql": "^2.16.0",
"promise-ftp": "^1.3.5",
"source-map-support": "^0.5.6"
},
"devDependencies": {
+ "@babel/cli": "^7.0.0",
+ "@babel/core": "7.0.0",
+ "@babel/plugin-syntax-dynamic-import": "^7.0.0",
+ "@babel/plugin-transform-runtime": "^7.0.0",
+ "@babel/polyfill": "^7.0.0",
+ "@babel/preset-env": "^7.0.0",
+ "@babel/runtime": "^7.0.0",
"aws-sdk": "^2.273.1",
"aws-sdk-mock": "^4.0.0",
- "babel-cli": "^6.26.0",
- "babel-core": "^6.26.3",
- "babel-loader": "^7.1.5",
+ "babel-loader": "^8.0.2",
"babel-plugin-source-map-support": "^2.0.1",
- "babel-plugin-transform-runtime": "^6.23.0",
- "babel-preset-env": "^1.7.0",
- "babel-preset-es2015": "^6.24.1",
- "babel-preset-stage-3": "^6.24.1",
"chai": "^4.1.2",
"serverless-pseudo-parameters": "^2.1.0",
"serverless-step-functions": "^1.6.1",
"serverless-webpack": "^5.2.0",
- "webpack": "^4.16.0",
+ "webpack": "^4.17.2",
"webpack-cli": "^3.1.0",
"webpack-node-externals": "^1.7.2"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment