Skip to content

Commit

Permalink
💥 drop Node.js 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Jul 23, 2019
1 parent a950d7c commit 34290e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
17 changes: 1 addition & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
sudo: false

language: node_js
node_js:
- "6.5"
- "8"
- "10"
- "12"

script:
# eslint and nyc don't support Node 6.
- |
if [ $TRAVIS_NODE_VERSION != "6.5" ]; then
npm test
else
npm run -s test:node6
fi
after_success:
- |
if [ $TRAVIS_NODE_VERSION != "6.5" ]; then
npm run coveralls
fi
- npm run coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The regular expression parser for ECMAScript.
$ npm install regexpp
```

- require Node.js 6.5.0 or newer.
- require Node.js 8 or newer.

## 📖 Usage

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "regexpp",
"version": "2.0.1",
"description": "Regular expression parser for ECMAScript 2018.",
"description": "Regular expression parser for ECMAScript.",
"engines": {
"node": ">=6.5.0"
"node": ">=8"
},
"main": "index",
"files": [
Expand Down Expand Up @@ -39,7 +39,6 @@
"lint": "eslint scripts src test --ext .ts",
"pretest": "run-s build lint",
"test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000",
"test:node6": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000",
"update:test": "ts-node scripts/update-fixtures.ts",
"update:ids": "ts-node scripts/update-unicode-ids.ts",
"preversion": "npm test",
Expand Down Expand Up @@ -67,6 +66,8 @@
"es2016",
"es2017",
"es2018",
"es2019",
"es2020",
"annexB"
],
"author": "Toru Nagashima (https://github.com/mysticatea)",
Expand Down

0 comments on commit 34290e6

Please sign in to comment.