Skip to content

Commit

Permalink
chore: upgrade babel
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed May 15, 2020
1 parent 46c8b4a commit 7c5e9c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .babelrc
@@ -1,14 +1,14 @@
{
"plugins": [
"transform-object-rest-spread",
"@babel/plugin-proposal-object-rest-spread",
"add-module-exports"
],
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"node": 4
"node": 10
}
}
]
Expand Down
14 changes: 8 additions & 6 deletions package.json
Expand Up @@ -10,17 +10,19 @@
},
"description": "Flowtype linting rules for ESLint.",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/register": "^7.9.0",
"ajv": "^6.12.2",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"eclint": "^2.8.1",
"eslint": "^7.0.0",
"eslint-config-canonical": "^19.0.4",
"eslint-config-canonical": "^19.0.5",
"gitdown": "^3.1.3",
"glob": "^7.1.6",
"husky": "^4.2.5",
Expand Down Expand Up @@ -60,7 +62,7 @@
"documentation-add-assertions": "babel-node ./src/bin/addAssertions",
"format-json": "jsonlint --sort-keys --in-place --indent \" \" ./src/configs/recommended.json",
"lint": "eslint ./src ./tests",
"test": "mocha --require babel-core/register ./tests/rules/index.js"
"test": "mocha --require @babel/register ./tests/rules/index.js"
},
"version": "2.30.1"
}

0 comments on commit 7c5e9c6

Please sign in to comment.