* feat(core): node engine update, adding cleanup and reinstall npm scripts

Node engine updates and package.json additional scripts (#1567)
* updated cleanup with 'npm cache clean' as well
This commit is contained in:
Liran Tal
2016-10-15 10:37:46 +03:00
committed by GitHub
parent b9129a3de9
commit b40cd2dbdb
2 changed files with 5 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ module.exports = {
},
env: {
node: true,
es6: true,
browser: true,
jasmine: true,
mocha: true,

View File

@@ -11,11 +11,13 @@
"url": "https://github.com/meanjs/mean.git"
},
"engines": {
"node": ">=0.12.0",
"npm": ">=2.0.0"
"node": ">=4.6.0",
"npm": ">=3.10.8"
},
"scripts": {
"update": "npm update && npm prune && bower install --allow-root && bower prune --allow-root",
"clean": "rm -rf node_modules/ public/lib/",
"reinstall": "npm cache clean && npm run clean && npm install",
"start": "gulp",
"start:prod": "gulp prod",
"start:debug": "node-debug --web-host 0.0.0.0 server.js & gulp debug",