Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
chore: use babel@^7.0.0 (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
czycha authored and FezVrasta committed Dec 12, 2018
1 parent 3117eee commit 462adaa
Show file tree
Hide file tree
Showing 5 changed files with 2,432 additions and 1,108 deletions.
16 changes: 8 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"presets": [
["env", { "modules": false, "loose": true }],
"stage-2",
"react"
["@babel/env", { "modules": false, "loose": true }],
"@babel/flow",
"@babel/react"
],
"plugins": [
"transform-class-properties"
"@babel/proposal-class-properties"
],
"env": {
"esm": {
"plugins": [
["transform-runtime", { "useBuiltIns": true }]
"@babel/transform-runtime"
],
"ignore": [
"**/*.test.js",
Expand All @@ -19,8 +19,8 @@
},
"cjs": {
"plugins": [
["transform-runtime", { "useBuiltIns": true }],
"transform-es2015-modules-commonjs"
"@babel/transform-runtime",
"@babel/transform-modules-commonjs"
],
"ignore": [
"**/*.test.js",
Expand All @@ -29,7 +29,7 @@
},
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
"@babel/transform-modules-commonjs"
]
}
}
Expand Down
22 changes: 11 additions & 11 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"dist/index.umd.js": {
"bundled": 50022,
"minified": 17925,
"gzipped": 5768
"bundled": 51977,
"minified": 17666,
"gzipped": 5671
},
"dist/index.umd.min.js": {
"bundled": 25681,
"minified": 10292,
"gzipped": 3478
"bundled": 25989,
"minified": 9935,
"gzipped": 3422
},
"dist/index.esm.js": {
"bundled": 10033,
"minified": 5762,
"gzipped": 1825,
"bundled": 11040,
"minified": 6620,
"gzipped": 1840,
"treeshaked": {
"rollup": {
"code": 4560,
"code": 3717,
"import_statements": 137
},
"webpack": {
"code": 5294
"code": 4823
}
}
}
Expand Down
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,28 @@
"react": "0.14.x || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"babel-runtime": "6.x.x",
"@babel/runtime": "^7.1.2",
"create-react-context": "<=0.2.2",
"popper.js": "^1.14.4",
"prop-types": "^15.6.1",
"typed-styles": "^0.0.7",
"warning": "^4.0.2"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-2": "^7.0.0",
"@types/react": "^16.1.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"cross-env": "^5.1.4",
"emotion": "^9.1.1",
"enzyme": "^3.3.0",
Expand All @@ -94,7 +96,7 @@
"gh-pages": "^1.1.0",
"git-branch-is": "^0.1.0",
"jest": "^22.4.3",
"parcel-bundler": "^1.6.2",
"parcel-bundler": "^1.10.1",
"prettier": "^1.11.1",
"pretty-quick": "^1.4.1",
"react": "16.2.0",
Expand All @@ -103,8 +105,8 @@
"react-spring": "^4.0.1",
"recompose": "^0.26.0",
"rimraf": "^2.6.2",
"rollup": "^0.59.3",
"rollup-plugin-babel": "^3.0.4",
"rollup": "^0.60.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
Expand Down
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const umdGlobals = {

const getBabelOptions = () => ({
exclude: '**/node_modules/**',
plugins: ['external-helpers'],
});

export default [
Expand Down
Loading

0 comments on commit 462adaa

Please sign in to comment.