-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.18 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "typescript-rest-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"prebuild": "npm run swagger",
"build": "rimraf build && tsc",
"preserve": "npm run build",
"pre:dev": "npm run swagger",
"dev": "npm run build && cross-env NODE_ENV=development concurrently \"nodemon\" \"nodemon -x tsoa spec\"",
"start": "cross-env NODE_ENV=production node build/index.js",
"swagger": "tsoa spec",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
"@types/node": "^20.2.5",
"@types/swagger-ui-express": "^4.1.3",
"concurrently": "^8.1.0",
"nodemon": "^2.0.22",
"typescript": "^5.1.3"
},
"dependencies": {
"body-parser": "^1.20.2",
"cross-env": "^7.0.3",
"dotenv": "^16.1.4",
"express": "^4.18.2",
"helmet": "^7.0.0",
"morgan": "^1.10.0",
"rimraf": "^5.0.1",
"swagger-ui-express": "^4.6.3",
"tsoa": "^5.1.1"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"exec": "npx ts-node src/index.ts"
}
}