express-generator-template
Version:
Express with Typescript Template
31 lines (30 loc) • 827 B
JSON
{
"name": "main-express-typescript",
"description": "Express Rest API",
"version": "1.0.0",
"scripts": {
"start": "NODE_ENV=production node dist/index.js",
"dev": "tsup src/index.ts --watch --sourcemap inline --onSuccess \"node dist/index.js\"",
"build": "npm run clean && tsc && tsc-alias",
"clean": "rm -rf dist"
},
"dependencies": {
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"debug": "^4.3.4",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"morgan": "^1.10.0",
"source-map-support": "^0.5.21",
"tsup": "^7.2.0"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
"tsc-alias": "^1.8.5",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.0.4"
}
}