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: node_js:
- '8' - '8'
- '6' - '6'
- '4'
after_script: after_script:
- './node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov' - './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", "main": "dist/index.js",
"engines": { "engines": {
"node": ">=4" "node": ">=6"
}, },
"scripts": { "scripts": {
"prerelease": "npm run build", "prerelease": "npm run build",

2
tsconfig.json

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

Loading…
Cancel
Save