-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Node 8 is the minimum supported version
- Loading branch information
Showing
10 changed files
with
5,886 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
["@babel/preset-env", { | ||
"targets": { | ||
"node": 4 | ||
"node": 8 | ||
}, | ||
"loose": true, | ||
"useBuiltIns": true | ||
"loose": true | ||
}] | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Test CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [8.x, 10.x, 12.x, 13.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: yarn install, lint and test | ||
run: | | ||
yarn install | ||
yarn run lint | ||
yarn run test:coverage | ||
- name: coverage | ||
uses: codecov/[email protected] | ||
if: matrix.node-version == '13.x' | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"url": "https://github.com/tleunen/find-babel-config.git" | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=8.0.0" | ||
}, | ||
"author": "Tommy Leunen <[email protected]> (http://tommyleunen.com)", | ||
"license": "MIT", | ||
|
@@ -20,22 +20,21 @@ | |
"babelrc" | ||
], | ||
"dependencies": { | ||
"json5": "^0.5.1", | ||
"path-exists": "^3.0.0" | ||
"json5": "^2.1.1", | ||
"path-exists": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.1", | ||
"babel-jest": "^20.0.0", | ||
"babel-preset-env": "^1.4.0", | ||
"eslint": "^3.19.0", | ||
"eslint-config-airbnb-base": "^11.1.3", | ||
"eslint-plugin-import": "^2.2.0", | ||
"jest": "^20.0.0", | ||
"standard-version": "^4.0.0" | ||
"@babel/cli": "^7.7.5", | ||
"@babel/preset-env": "^7.7.6", | ||
"babel-jest": "^24.9.0", | ||
"eslint": "^6.7.2", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"jest": "^24.9.0", | ||
"standard-version": "^7.0.1" | ||
}, | ||
"scripts": { | ||
"lint": "eslint src test", | ||
"pretest": "npm run lint", | ||
"test:coverage": "jest --coverage", | ||
"test:watch": "jest --watch", | ||
"test": "jest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
"presets": ["fake-preset-babelrc"] | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
"presets": ["fake-preset-dir3-babelrc"] | ||
"plugins": ['@babel/plugin-transform-arrow-functions'] | ||
} |
Oops, something went wrong.