summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-14 23:54:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-14 23:54:39 +0900
commite5409db0e82380d743907a538f60bd01434359eb (patch)
tree6e34f0a759c31fce07133142e3449cfa96acaeaf /package.json
parentUpdate CHANGELOG.md (diff)
downloadsharkey-e5409db0e82380d743907a538f60bd01434359eb.tar.gz
sharkey-e5409db0e82380d743907a538f60bd01434359eb.tar.bz2
sharkey-e5409db0e82380d743907a538f60bd01434359eb.zip
Resolve #4925
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 71fa1509e0..5301118fdb 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,8 @@
"scripts": {
"start": "node ./index.js",
"init": "node ./built/init.js",
+ "ormconfig": "node ./built/ormconfig.js",
+ "migrate": "npm run ormconfig && ts-node ./node_modules/typeorm/cli.js migration:run",
"build": "webpack && gulp build",
"webpack": "webpack",
"watch": "webpack --watch",