Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Upgrade babel and ava, drop babel-runtime transform #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"presets": ["env"],
"presets": [
"@babel/preset-env",
"@babel/preset-flow"
],
"plugins": [
"transform-object-rest-spread",
"transform-runtime",
"transform-flow-strip-types"
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-flow-strip-types"
]
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: node_js
node_js:
- 6
- 12
24 changes: 13 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@
},
"homepage": "https://github.com/alexkuz/react-base16-styling#readme",
"devDependencies": {
"ava": "^0.24.0",
"babel-cli": "^6.6.5",
"babel-core": "^6.7.4",
"babel-eslint": "^8.0.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.6.0",
"babel-preset-env": "^1.6.1",
"@ava/babel": "^1.0.1",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/register": "^7.10.5",
"ava": "^3.11.1",
"babel-eslint": "^9.0.0",
"eslint": "^4.13.1",
"eslint-plugin-babel": "^4.1.0",
"eslint-plugin-flowtype": "^2.30.0",
Expand All @@ -57,9 +59,9 @@
"test"
],
"ava": {
"babel": true,
"require": [
"babel-register"
],
"babel": "inherit"
"@babel/register"
]
}
}
Loading