Skip to content

Commit

Permalink
Drop deprecated babel presets.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarp committed Nov 23, 2017
1 parent 15bad57 commit e17c0d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["react", "es2015", "es2017", "stage-0"],
"presets": ["react", "env", "stage-0"],
"only": ["*.js", "*.jsx"],
"plugins": [
["transform-runtime", {
Expand Down
2 changes: 1 addition & 1 deletion __test__/test_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ export function getContext(context) {
}
}

export { setupTest, cleanupTest, getContext }
export { setupTest, cleanupTest }
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,16 @@
"aws-sdk": "^2.6.3",
"aws-serverless-express": "https://registry.npmjs.org/aws-serverless-express/-/aws-serverless-express-3.0.2.tgz",
"axios": "^0.16.1",
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-loader": "^6.2.4",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^6.4.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.9.2.tgz",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"body-parser": "^1.15.2",
"chart.js": "^1.1.1",
"cookie-session": "^2.0.0-alpha.1",
Expand Down

0 comments on commit e17c0d9

Please sign in to comment.