summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorMadeline <maddyunderstars@gmail.com>2022-01-05 01:38:53 +1100
committerMadeline <maddyunderstars@gmail.com>2022-01-05 01:38:53 +1100
commitaa8b7d98d8ec0a233769fafccefb9a231219b372 (patch)
tree5e3fb9c05a572e706bb2f2d4722a96b5ce0ba4f4 /bundle
parentRemove one more Microsoft Corp. ad (diff)
downloadserver-aa8b7d98d8ec0a233769fafccefb9a231219b372.tar.xz
Added `tsnode` npm script
Diffstat (limited to 'bundle')
-rw-r--r--bundle/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json

index 301ee18c..fa64ce6b 100644 --- a/bundle/package.json +++ b/bundle/package.json
@@ -9,7 +9,8 @@ "start": "node scripts/build.js && node dist/bundle/src/start.js", "start:bundle": "node dist/bundle/src/start.js", "test": "echo \"Error: no test specified\" && exit 1", - "migrate": "cd ../util/ && npm i && node --require ts-node/register node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run" + "migrate": "cd ../util/ && npm i && node --require ts-node/register node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run", + "tsnode": "npx ts-node --transpile-only -P tsnode.tsconfig.json src/start.ts" }, "repository": { "type": "git",