fix: temporary fix for runtime

This commit is contained in:
TrèsAbhi authored and GitHub committed 2023-06-09 22:40:06 -05:00
1 parent fe2f9c34f8
commit affe089565
1 file changed
+3 -2
+3 -2
View File
@@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"dev": "yarn build && yarn start",
"start": "node --enable-source-maps dist/index.cjs",
"start": "vite-node src/index.ts --script",
"build": "rm -rf dist && esbuild src/index.ts --outfile=dist/index.cjs --bundle --platform=node --loader:.node=copy --minify --sourcemap",
"lint": "tsc"
},
@@ -31,6 +31,7 @@
"@types/node": "^20.2.1",
"@types/react": "^18.2.7",
"esbuild": "^0.17.19",
"typescript": "^5.0.4"
"typescript": "^5.0.4",
"vite-node": "^0.31.1"
}
}