Update build script in package.json to use 'bunx tsc' for TypeScript compilation, enhancing build process consistency.

This commit is contained in:
2025-12-20 16:05:58 +07:00
parent 4fda65e3c2
commit 73afdf4328

View File

@@ -9,7 +9,7 @@
}, },
"scripts": { "scripts": {
"start": "fastify start -l info dist/app.js", "start": "fastify start -l info dist/app.js",
"build": "tsc", "build": "bunx tsc",
"watch": "tsc -w", "watch": "tsc -w",
"dev": "bun run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"bun:watch\" \"bun:dev:start\"", "dev": "bun run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"bun:watch\" \"bun:dev:start\"",
"dev:start": "bun run build && fastify start -d --ignore-watch=.ts$ -w -l info -P dist/app.js", "dev:start": "bun run build && fastify start -d --ignore-watch=.ts$ -w -l info -P dist/app.js",