Supporting Node.js v8 and npm v5.

This commit is contained in:
Jayden Seric 2017-07-08 18:41:35 +10:00
parent 27e0717ddd
commit 12b97edb99
4 changed files with 9 additions and 4 deletions

View File

@ -33,7 +33,8 @@
"start": "zoo node dist" "start": "zoo node dist"
}, },
"engines": { "engines": {
"node": ">=7.6" "node": ">=8.1.2",
"npm": ">=5"
}, },
"babel": { "babel": {
"presets": [ "presets": [
@ -41,7 +42,7 @@
"env", "env",
{ {
"targets": { "targets": {
"node": 7.6 "node": "8"
} }
} }
], ],

View File

@ -14,4 +14,4 @@ For production run `npm run build && npm run start`.
## Support ## Support
- Node.js versions >= 7.6. See `engines` in `package.json`.

View File

@ -20,6 +20,10 @@
"build": "zoo next build", "build": "zoo next build",
"start": "zoo next start" "start": "zoo next start"
}, },
"engines": {
"node": ">=8.1.2",
"npm": ">=5"
},
"babel": { "babel": {
"presets": [ "presets": [
"next/babel" "next/babel"

View File

@ -14,4 +14,4 @@ For production run `npm run build && npm run start`.
## Support ## Support
- Node.js versions >= 7.6. See `engines` in `package.json`.