Added pre-start and pre-install script to update environment
This commit is contained in:
parent
1f323723d3
commit
94dee99348
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@
|
||||||
"npm": "*"
|
"npm": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preinstall" : "npm update npm -g && npm update -g",
|
||||||
|
"prestart": "npm install",
|
||||||
"start": "nodemon --ignore node_modules/ server.js"
|
"start": "nodemon --ignore node_modules/ server.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue