Merge pull request #179 from Cambalab/node-version

Enforce npm engines checking via check-node-version
This commit is contained in:
David Baldwynn 2017-07-05 14:57:59 -07:00 committed by GitHub
commit 4da8482eba
2 changed files with 10 additions and 8 deletions

View file

@ -3,7 +3,7 @@ dist: trusty
sudo: false sudo: false
node_js: node_js:
- "5.0.0" - "5.0.0"
- "4.0.0" - "6.0.0"
env: env:
- NODE_ENV=travis TRAVIS=travis CXX=g++-4.8 - NODE_ENV=travis TRAVIS=travis CXX=g++-4.8
services: services:

View file

@ -13,20 +13,19 @@
"url": "https://github.com/whitef0x0/tellform.git" "url": "https://github.com/whitef0x0/tellform.git"
}, },
"engines": { "engines": {
"node": "~5.0.0", "node": ">=5.0.0",
"npm": "~2.11.2" "npm": ">=2.11.2"
}, },
"scripts": { "scripts": {
"addcontrib": "all-contributors add", "addcontrib": "all-contributors add",
"generate": "all-contributors generate", "generate": "all-contributors generate",
"start": "grunt", "start": "npm run version && grunt",
"test": "grunt test", "test": "npm run version && grunt test",
"postinstall": "bower install --config.interactive=false; grunt build;", "postinstall": "bower install --config.interactive=false; grunt build;",
"init": "node scripts/setup.js" "init": "node scripts/setup.js",
"version": "check-node-version --package"
}, },
"dependencies": { "dependencies": {
"multer": "^1.3.0",
"glob": "^7.0.3",
"async": "^1.4.2", "async": "^1.4.2",
"async-boolean-expression-evaluator": "^1.1.1", "async-boolean-expression-evaluator": "^1.1.1",
"bcrypt": "^0.8.7", "bcrypt": "^0.8.7",
@ -34,6 +33,7 @@
"body-parser": "~1.14.1", "body-parser": "~1.14.1",
"bower": "~1.6.5", "bower": "~1.6.5",
"chalk": "^1.1.3", "chalk": "^1.1.3",
"check-node-version": "^2.1.0",
"compression": "~1.6.0", "compression": "~1.6.0",
"connect": "^3.4.1", "connect": "^3.4.1",
"connect-flash": "~0.1.1", "connect-flash": "~0.1.1",
@ -49,6 +49,7 @@
"express-session": "~1.12.1", "express-session": "~1.12.1",
"forever": "~0.15.1", "forever": "~0.15.1",
"fs-extra": "~0.26.2", "fs-extra": "~0.26.2",
"glob": "^7.0.3",
"grunt": "~0.4.1", "grunt": "~0.4.1",
"grunt-cli": "~0.1.13", "grunt-cli": "~0.1.13",
"grunt-concurrent": "~2.3.0", "grunt-concurrent": "~2.3.0",
@ -74,6 +75,7 @@
"mongoose": "~4.4.19", "mongoose": "~4.4.19",
"mongoose-utilities": "~0.1.1", "mongoose-utilities": "~0.1.1",
"morgan": "~1.6.1", "morgan": "~1.6.1",
"multer": "^1.3.0",
"nodemailer": "~1.10.0", "nodemailer": "~1.10.0",
"nodemailer-sendgrid-transport": "^0.2.0", "nodemailer-sendgrid-transport": "^0.2.0",
"nodemailer-sparkpost-transport": "^1.0.0", "nodemailer-sparkpost-transport": "^1.0.0",