add nodemon and migrate scripts

This commit is contained in:
Bilal Catic
2019-05-17 08:49:01 +02:00
parent 68172951ed
commit 76f9457d4f
2 changed files with 2366 additions and 121 deletions

2480
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,9 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./index.js"
"start": "node ./index.js",
"start-mon": "nodemon ./index.js",
"migrate": "cd app && npx sequelize db:migrate"
},
"repository": {
"type": "git",
@@ -32,5 +34,8 @@
"react-step-wizard": "^5.1.0",
"sequelize": "^4.43.2",
"sequelize-cli": "^5.4.0"
},
"devDependencies": {
"nodemon": "^1.19.0"
}
}