Skip to content

Commit

Permalink
Upgraded Babel and such
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach committed Nov 25, 2019
1 parent 72b5d6a commit 0061bc1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": ["es2015"],
"presets": ["@babel/preset-env"],
"plugins": [
"transform-object-rest-spread",
"transform-flow-strip-types",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-flow-strip-types",
]
}
1 change: 1 addition & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
40 changes: 25 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"lint": "eslint --config .eslintrc src __tests__",
"lint:fix": "npm run lint -- --fix",
"pretest": "npm run lint:fix && npm run flow",
"test": "jest --coverage",
"test": "npm run jest",
"test:ci": "npm run jest -- --ci --runInBand",
"jest": "jest --coverage __tests__/**/*",
"output_as_hack": "babel-node ./scripts/output_as_hack.js"
},
"repository": {
Expand All @@ -32,31 +34,39 @@
},
"homepage": "https://github.com/A11yance/aria-query#readme",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^18.0.0",
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"babel-plugin-transform-object-rest-spread": "^6.20.2",
"babel-polyfill": "^6.20.0",
"babel-preset-es2015": "^6.18.0",
"@babel/cli": "^7.4.4",
"@babel/core": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.0.0",
"babel-preset-airbnb": "^4.0.0",
"commander": "^2.11.0",
"coveralls": "^2.11.15",
"eslint": "^6.6.0",
"eslint-plugin-flowtype": "^2.30.0",
"eslint-plugin-import": "^2.2.0",
"eslint": "^5 || ^6",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-flowtype": "^3.5.0",
"eslint-plugin-import": "^2.18.0",
"expect": "^1.20.2",
"flow-bin": "^0.112.0",
"jest": "^18.1.0",
"jest": "^24.0.0",
"minimist": "^1.2.0",
"rimraf": "^2.5.4"
"rimraf": "^2.6.3"
},
"engines": {
"node": ">=6.0"
},
"dependencies": {
"@babel/runtime": "^7.7.4"
},
"peerDependencies": {
"eslint": "^5 || ^6"
},
"jest": {
"coverageReporters": [
"lcov"
],
"coverageDirectory": "reports",
"testPathDirs": [
"roots": [
"<rootDir>/__tests__"
]
}
Expand Down

0 comments on commit 0061bc1

Please sign in to comment.