Skip to content

Commit

Permalink
Merge branch 'fix/ie11' of https://github.com/eps1lon/aria-query into…
Browse files Browse the repository at this point in the history
… eps1lon-fix/ie11
  • Loading branch information
jessebeach committed Nov 26, 2019
2 parents 61f2a28 + 1112cf9 commit d2cffe5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
15 changes: 6 additions & 9 deletions .babelrc
@@ -1,13 +1,10 @@
{
"presets": [
[
"airbnb",
{
"targets": {
"node": 4
}
}
]
["@babel/preset-env", { "useBuiltIns": false }],
"@babel/preset-flow"
],
"plugins": ["@babel/plugin-transform-flow-strip-types"]
"plugins": [
["@babel/plugin-transform-runtime", {"corejs": 3 }],
"@babel/plugin-transform-flow-strip-types"
]
}
8 changes: 8 additions & 0 deletions .eslintrc
Expand Up @@ -3,6 +3,14 @@
"plugin:flowtype/recommended"
],
parser: "babel-eslint",
// https://github.com/eslint/eslint/issues/4344#issuecomment-197344872
parserOptions: {
ecmaVersion: 6,
sourceType: "module",
ecmaFeatures: {
modules: true
}
},
plugins: [
"flowtype"
],
Expand Down
22 changes: 15 additions & 7 deletions package.json
Expand Up @@ -34,12 +34,13 @@
},
"homepage": "https://github.com/A11yance/aria-query#readme",
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"@babel/preset-flow": "^7.0.0",
"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": "^5 || ^6",
Expand All @@ -48,15 +49,16 @@
"eslint-plugin-import": "^2.18.0",
"expect": "^1.20.2",
"flow-bin": "^0.112.0",
"jest": "^24.0.0",
"jest": "^24.9.0",
"minimist": "^1.2.0",
"rimraf": "^2.6.3"
},
"engines": {
"node": ">=6.0"
},
"dependencies": {
"@babel/runtime": "^7.7.4"
"@babel/runtime": "^7.7.4",
"@babel/runtime-corejs3": "^7.6.3"
},
"peerDependencies": {
"eslint": "^5 || ^6"
Expand All @@ -69,5 +71,11 @@
"roots": [
"<rootDir>/__tests__"
]
}
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
]
}

0 comments on commit d2cffe5

Please sign in to comment.