From f1ec265e86bdf744d84e5a3a0d48b5efdf23753b Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 13 Dec 2021 22:01:39 -0500 Subject: I give up --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') 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", -- cgit