build: remove nodemon & ts-nodepkgs, added tsx

This commit is contained in:
Ritesh Ghosh
2023-11-22 13:39:30 +05:30
parent 24d499b604
commit 3affd892a5
+4 -4
View File
@@ -3,9 +3,10 @@
"version": "1.17.3", "version": "1.17.3",
"description": "Node Express API for obtaining anime information from aniwatch", "description": "Node Express API for obtaining anime information from aniwatch",
"main": "ts-node src/server.ts", "main": "ts-node src/server.ts",
"type": "module",
"scripts": { "scripts": {
"start": "ts-node src/server.ts", "start": "tsx src/server.ts",
"dev": "nodemon src/server.ts", "dev": "tsx watch src/server.ts",
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"prepare": "husky install", "prepare": "husky install",
"test": "jest", "test": "jest",
@@ -46,9 +47,8 @@
"@types/node": "^20.4.5", "@types/node": "^20.4.5",
"husky": "^8.0.0", "husky": "^8.0.0",
"jest": "^29.6.2", "jest": "^29.6.2",
"nodemon": "^3.0.1",
"ts-jest": "^29.1.1", "ts-jest": "^29.1.1",
"ts-node": "^10.9.1", "tsx": "^4.2.0",
"typescript": "^5.1.6" "typescript": "^5.1.6"
} }
} }