diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index 0669579..4d27682 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "build:esbuild": "yarn rimraf dist && yarn esbuild --sourcemap=inline --outdir=dist --platform=node --target=es2020 --format=esm --log-level=warning src/**/*.ts", "build:tsc": "yarn rimraf dist && yarn tsc", "build:tsc:no-emit": "yarn rimraf dist && yarn tsc --noEmit", - "_start": "yarn build:esbuild && ./start.sh", - "start": "yarn build:tsc && ./start.sh", - "dev": "yarn build:tsc && ./start.sh", + "_start": "yarn build:esbuild && node --experimental-json-modules --no-warnings dist/src/bot.js", + "start": "yarn build:tsc && node --experimental-json-modules --no-warnings dist/src/bot.js", + "dev": "yarn build:tsc && node --experimental-json-modules --no-warnings dist/src/bot.js", "test": "yarn lint && yarn tsc --noEmit", "format": "yarn prettier . --write", "lint": "yarn eslint --ext js,jsx,ts,tsx src", |