Skip to content

Commit

Permalink
moving to babel 7 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon authored Aug 31, 2018
1 parent 8a46505 commit 1405e49
Show file tree
Hide file tree
Showing 5 changed files with 919 additions and 987 deletions.
23 changes: 5 additions & 18 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
{
"presets": [
"flow",
["env", { "modules": false, "loose": true }]
"@babel/flow",
["@babel/env", {
"loose": true
}]
],
"comments": false,
"plugins": [
"transform-object-rest-spread"
],
"env": {
"cjs": {
"plugins": [
"transform-es2015-modules-commonjs"
]
},
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
]
}
}
"comments": false
}
File renamed without changes.
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,23 @@
],
"dependencies": {},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-eslint": "8.2.5",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "^23.4.2",
"chai": "4.1.2",
"cross-env": "^5.2.0",
"eslint": "5.0.1",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-jest": "^21.17.0",
"flow-bin": "0.75.0",
"jest": "^23.2.0",
"eslint": "5.4.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-jest": "^21.22.0",
"flow-bin": "0.79.1",
"jest": "^23.5.0",
"rimraf": "2.6.2",
"rollup": "^0.62.0",
"rollup-plugin-babel": "^3.0.5",
"rollup-plugin-commonjs": "^9.1.3",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^4.0.2",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default [
input,
output: {
file: 'dist/memoize-one.esm.js',
format: 'es',
format: 'esm',
},
plugins: [babel()],
},
Expand Down
Loading

0 comments on commit 1405e49

Please sign in to comment.