summary refs log tree commit diff
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
commitb131efca2e2f81843092f7b83f9756c1b0c47e21 (patch)
tree8596d115573c5330f1b751ba34177d6578c80ee3
parentRemove one more Microsoft Corp. ad (diff)
downloadserver-b131efca2e2f81843092f7b83f9756c1b0c47e21.tar.xz
Added `tsnode` npm script
-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",