Browse Source

Target Node.js 6

iss58
Sindre Sorhus 7 years ago
parent
commit
474139f2e4
  1. 1
      .travis.yml
  2. 2
      package.json
  3. 2
      tsconfig.json

1
.travis.yml

@ -2,6 +2,5 @@ language: node_js
node_js:
- '8'
- '6'
- '4'
after_script:
- './node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov'

2
package.json

@ -11,7 +11,7 @@
},
"main": "dist/index.js",
"engines": {
"node": ">=4"
"node": ">=6"
},
"scripts": {
"prerelease": "npm run build",

2
tsconfig.json

@ -1,7 +1,7 @@
{
"compilerOptions": {
"outDir": "dist",
"target": "es5",
"target": "es2015",
"lib": [
"es2015"
],

Loading…
Cancel
Save