Skip to content

Commit

Permalink
build: use tsx for dev (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jatindotdev authored May 14, 2024
1 parent 118c579 commit 58bfd06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 587 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
"scripts": {
"build": "esbuild src/server.ts --bundle --outfile=build/server.js --platform=node --format=esm --packages=external",
"start": "node build/server.js",
"dev": "run-p -sl dev:*",
"dev:tsc": "tsc --watch --preserveWatchOutput",
"dev:node": "node --watch build/server.js",
"dev:esbuild": "pnpm run build --watch",
"dev": "tsx watch src/server.ts",
"generate": "drizzle-kit generate:pg",
"migrate": "node --import tsx/esm src/migrate.ts",
"migrate": "tsx src/migrate.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
Expand Down Expand Up @@ -46,7 +43,6 @@
"drizzle-kit": "^0.20.14",
"esbuild": "^0.20.0",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"pg": "^8.11.3",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
Expand Down
Loading

0 comments on commit 58bfd06

Please sign in to comment.