Skip to content

Commit

Permalink
sequelize-cli as a live dependency for running migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Nov 27, 2017
1 parent f736ee9 commit 9ce6d9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"postinstall": "node scripts/install.js",
"start": "node index.js",
"start": "sequelize db:migrate && node index.js",
"test": "mocha"
},
"repository": {
Expand All @@ -24,12 +24,12 @@
"mysql2": "^1.4.2",
"restify": "^5.0.0",
"restify-errors": "^4.3.0",
"sequelize": "^4.17.2"
"sequelize": "^4.17.2",
"sequelize-cli": "^3.0.0"
},
"devDependencies": {
"chai": "^4.0.2",
"mocha": "^3.4.2",
"sequelize-cli": "^3.0.0",
"supertest": "^3.0.0"
}
}

0 comments on commit 9ce6d9d

Please sign in to comment.