diff options
Diffstat (limited to 'cgithub/package.json')
| -rw-r--r-- | cgithub/package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgithub/package.json b/cgithub/package.json index 3e62cba..461a9bd 100644 --- a/cgithub/package.json +++ b/cgithub/package.json @@ -5,8 +5,7 @@ "type": "module", "scripts": { "dev": "concurrently 'tsc --watch --preserveWatchOutput' 'node --watch --watch-preserve-output build/index.js'", - "build": "tsc", - "start": "node build/index.js" + "build": "rm -rf dist/* && esbuild --bundle --format=esm --platform=node --outdir=dist/build --sourcemap src/index.ts && cp -R static views dist/" }, "dependencies": { "@hono/node-server": "^1.13.7", @@ -16,6 +15,7 @@ "devDependencies": { "@types/node": "^22.10.2", "concurrently": "^9.1.2", + "esbuild": "^0.27.2", "prettier": "^3.8.1", "typescript": "^5.7.2" } |
