Skip to content

Commit

Permalink
Add engines to package.json (#5585)
Browse files Browse the repository at this point in the history
Based on this PR #5520 there should be `engines` definition in package.json as first warn.

Why i choose Node 8 as minimum? @timneutkens said (https://github.com/zeit/next.js/pull/5520/files#r228330327) that next.js should work on version 7.5 but automated tests in TravisCI are with versions 8 and 10. Version 7 was development branch. I think only production ready should be recommended.
  • Loading branch information
radeno authored and timneutkens committed Nov 3, 2018
1 parent a2553bb commit 1aa9652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@
"taskr": "1.1.0",
"wait-port": "0.2.2",
"wd": "1.10.3"
},
"engines": {
"node": ">= 8.0.0"
}
}

0 comments on commit 1aa9652

Please sign in to comment.