aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-01-26 15:55:52 -0500
committerJoe Mou <dev@mou.fo>2026-01-26 17:23:43 -0500
commit967fb03d4014f862353cb110eefbede78304045c (patch)
tree22c045b56a0db1ab85a3e1164864cd441a57cfc3 /package.json
parentbd28d92a9800ad5b2d66b2a5491f58a7e76a5feb (diff)
Use Node native TypeScript elision
See https://nodejs.org/api/typescript.html#type-stripping
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/package.json b/package.json
index 461a9bd..b3d778b 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "Lightweight GitHub alternative frontend",
"type": "module",
"scripts": {
- "dev": "concurrently 'tsc --watch --preserveWatchOutput' 'node --watch --watch-preserve-output build/index.js'",
+ "dev": "node --watch --watch-preserve-output src/index.ts",
"build": "rm -rf dist/* && esbuild --bundle --format=esm --platform=node --outdir=dist/build --sourcemap src/index.ts && cp -R static views dist/"
},
"dependencies": {
@@ -14,7 +14,6 @@
},
"devDependencies": {
"@types/node": "^22.10.2",
- "concurrently": "^9.1.2",
"esbuild": "^0.27.2",
"prettier": "^3.8.1",
"typescript": "^5.7.2"