express-generator-typescript
Version:
Generate new Express applications similar to express-generate which but sets it up to use TypeScript instead
64 lines (63 loc) • 1.92 kB
JSON
{
"name": "express-typescript-example",
"version": "0.0.0",
"scripts": {
"build": "ts-node ./scripts/build.ts",
"clean-install": "rm -rf ./node_modules && rm -r package-lock.json && npm i",
"dev": "NODE_ENV=development ts-node ./src",
"dev:hot": "nodemon --exec \"npm run dev\" --watch ./src --ext .ts",
"lint": "eslint .",
"start": "NODE_ENV=production node -r ./config.js ./dist",
"test": "NODE_ENV=test ts-node ./spec",
"test:hot": "nodemon --exec \"npm run test\" --watch ./src --watch ./spec --ext .ts",
"type-check": "tsc --noEmit"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"cookie-parser": "^1.4.6",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"express": "^4.18.1",
"express-async-errors": "^3.1.1",
"helmet": "^6.0.0",
"inserturlparams": "^2.0.5",
"jet-env": "^1.1.4",
"jet-logger": "^2.0.1",
"jet-paths": "^1.1.0",
"jet-validators": "^1.3.7",
"jsonfile": "^6.1.0",
"module-alias": "^2.2.2",
"morgan": "^1.10.0"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@stylistic/eslint-plugin-js": "^2.11.0",
"@stylistic/eslint-plugin-ts": "^2.8.0",
"@swc/core": "^1.9.3",
"@types/cookie-parser": "^1.4.3",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.13",
"@types/find": "^0.2.1",
"@types/fs-extra": "^9.0.13",
"@types/jasmine": "^4.3.0",
"@types/jsonfile": "^6.1.0",
"@types/module-alias": "^2.0.4",
"@types/morgan": "^1.9.3",
"@types/node": "^18.7.14",
"@types/supertest": "^6.0.2",
"eslint": "^9.11.1",
"eslint-plugin-n": "^17.14.0",
"find": "^0.3.0",
"fs-extra": "^10.1.0",
"jasmine": "^4.3.0",
"jiti": "^2.4.1",
"nodemon": "^2.0.19",
"supertest": "^6.3.4",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
}
}