3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 04:45:02 +00:00

Use ts-node/register with node CLI instead of ts-node CLI

See https://www.npmjs.com/package/ts-node#programmatic
Allows us to use advanced node CLI options (if needed)
for our start scripts
This commit is contained in:
Dragory 2019-09-28 19:34:36 +03:00
parent 4d7ab10fcf
commit 438694bc6e
3 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{
"watch": "src",
"ext": "ts",
"exec": "ts-node ./src/api/index.ts"
"exec": "node -r ts-node/register ./src/api/index.ts"
}