fix(api): use tsx for develop (#59250)

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
Krzysztof G.
2025-03-12 13:07:55 +01:00
committed by GitHub
parent 171ba131bd
commit 5e2ff8fa3c
2 changed files with 89 additions and 167 deletions

View File

@@ -30,7 +30,6 @@
"nanoid": "3",
"no-profanity": "1.5.1",
"nodemailer": "6.9.10",
"nodemon": "2.0.22",
"pino-pretty": "10.2.3",
"query-string": "7.1.3",
"stripe": "16.0.0",
@@ -59,14 +58,6 @@
"license": "BSD-3-Clause",
"main": "none",
"name": "@freecodecamp/api",
"nodemonConfig": {
"env": {
"FREECODECAMP_NODE_ENV": "development"
},
"ignore": [
"**/*.js"
]
},
"private": true,
"repository": {
"type": "git",
@@ -76,7 +67,7 @@
"build": "tsc -p tsconfig.build.json",
"clean": "rm -rf dist",
"dev": "pnpm develop",
"develop": "nodemon src/server.ts",
"develop": "tsx watch --clear-screen=false src/server.ts",
"start": "FREECODECAMP_NODE_ENV=production node dist/server.js",
"test": "jest --force-exit",
"prisma": "dotenv -e ../.env prisma",