Skip to content

Commit

Permalink
Declare Node v6 as minimum support (#168)
Browse files Browse the repository at this point in the history
* set minimum node engine

* compile to node6

* run node 6 & 8 in travis only
  • Loading branch information
lukeed authored and rkostrzewski committed Jul 1, 2017
1 parent a194c9a commit 60c3e39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
["env", {
"loose": true,
"targets": {
"node": 4
"node": 6
},
"exclude": [
"transform-regenerator"
Expand Down
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ addons:

language: node_js
node_js:
- "6"
- "7"
- "8"
- 6
- 8
cache:
npm: true

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "preact-cli",
"version": "1.3.0",
"description": "Start building a Preact Progressive Web App in seconds.",
"repository": "developit/preact-cli",
"main": "lib/index.js",
"bin": {
"preact": "./lib/index.js"
Expand All @@ -21,7 +22,9 @@
"test:watch": "babel-node src watch --cwd examples/root --port 3000",
"test:deploy": "npm run test:build && cp examples/root/build/index.html examples/root/build/200.html && surge -d cli-demo.preactjs.com examples/root/build"
},
"repository": "developit/preact-cli",
"engines": {
"node": ">=6"
},
"files": [
"lib",
"examples"
Expand Down

0 comments on commit 60c3e39

Please sign in to comment.