summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-06-29 23:12:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-06-29 23:12:00 +0900
commitbb2d76ffa362dd0fb032d5faf975661b1c9a26f7 (patch)
treed1c6c3b8cd8061c1318450a0aaab4c3aadf96ff7 /package.json
parentRevert "Update ormconfig.ts" (diff)
downloadsharkey-bb2d76ffa362dd0fb032d5faf975661b1c9a26f7.tar.gz
sharkey-bb2d76ffa362dd0fb032d5faf975661b1c9a26f7.tar.bz2
sharkey-bb2d76ffa362dd0fb032d5faf975661b1c9a26f7.zip
Fix #4926
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 7943d8187e..3e21a9da57 100644
--- a/package.json
+++ b/package.json
@@ -11,9 +11,9 @@
"private": true,
"scripts": {
"start": "node ./index.js",
- "init": "node ./built/init.js",
+ "init": "npm run migrate",
"ormconfig": "node ./built/ormconfig.js",
- "migrate": "npm run ormconfig && ts-node ./node_modules/typeorm/cli.js migration:run",
+ "migrate": "ts-node ./node_modules/typeorm/cli.js migration:run",
"migrateandstart": "npm run migrate && npm run start",
"build": "webpack && gulp build",
"webpack": "webpack",