Skip to content

Commit

Permalink
babel is back: node < 4 are not available in travis-ci, so use local …
Browse files Browse the repository at this point in the history
…babel
  • Loading branch information
kaelzhang committed Oct 26, 2017
1 parent cbad90b commit 4ff14e1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 23 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
language: node_js
sudo: false
node_js:
# - "0.6"
# - "0.8"
# - "0.10"
# - "0.11"
- "4"
- "5"
- "6"
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const REGEX_LEADING_EXCAPED_HASH = /^\\#/
const SLASH = '/'
const KEY_IGNORE = typeof Symbol !== 'undefined'
? Symbol.for('node-ignore')
/* istanbul ignore next */
: 'node-ignore'


Expand Down
4 changes: 0 additions & 4 deletions install.sh

This file was deleted.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
"index.d.ts"
],
"scripts": {
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec ./test/ignore.js && codecov",
"test-no-cov": "./node_modules/.bin/mocha --reporter spec ./test/ignore.js",
"prepublish": "npm run build",
"build": "babel -o ignore.js index.js",
"test": "npm run build && istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec ./test/ignore.js && codecov",
"test-no-cov": "npm run build && ./node_modules/.bin/mocha --reporter spec ./test/ignore.js",
"cov-report": "istanbul report"
},
"repository": {
Expand Down Expand Up @@ -37,6 +39,8 @@
"url": "https://github.com/kaelzhang/node-ignore/issues"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"chai": "~1.7.2",
"codecov": "^1.0.1",
"istanbul": "^0.4.5",
Expand Down
13 changes: 0 additions & 13 deletions test.sh

This file was deleted.

0 comments on commit 4ff14e1

Please sign in to comment.