Skip to content

Commit

Permalink
fix(engines): support node 4
Browse files Browse the repository at this point in the history
closes #11
  • Loading branch information
felixfbecker committed Nov 27, 2017
1 parent 432beb0 commit 3a06b94
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js

node_js:
- '4'
- '8'

env:
Expand All @@ -12,6 +13,9 @@ cache:
directories:
- $HOME/.npm

before_install:
- npm install -g npm@^5

install:
- npm install

Expand All @@ -25,8 +29,8 @@ after_success:

jobs:
include:
- stage: test
- stage: release
node_js: '8'
script:
- npm run build
- npm run semantic-release
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"highlight": "./bin/highlight"
},
"engines": {
"node": ">=4.0.0"
"node": ">=4.0.0",
"npm": ">=5.0.0"
},
"scripts": {
"test": "jest",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "es6",
"target": "es5",
"lib": ["es5", "es2015.promise", "dom"],
"module": "commonjs",
"noImplicitAny": true,
"outDir": "dist",
Expand Down

0 comments on commit 3a06b94

Please sign in to comment.