feat: added dev and prod setup using esbuild

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent 356e981401
commit 2243bcb3a4
7 changed files with 1721 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"name": "backend-pg",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "node esbuild.config.js",
"dev": "nodemon"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.9.1",
"esbuild": "^0.19.5",
"nodemon": "^3.0.1",
"typescript": "^5.2.2"
},
"dependencies": {
"fastify": "^4.24.3",
"ora": "^7.0.1"
}
}