-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.11 KB
/
package.json
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
47
48
{
"name": "portfolio_api_service",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.19.2",
"fs": "^0.0.1-security",
"http": "^0.0.1-security",
"http-errors": "^2.0.0",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"morgan": "^1.10.0",
"path": "^0.12.7"
},
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/connect": "^3.4.38",
"@types/cors": "^2.8.17",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/http-server": "^0.12.4",
"@types/morgan": "^1.9.9",
"@types/node": "^20.14.9",
"dotenv": "^16.4.5",
"pre-commit": "^1.2.2",
"rimraf": "^5.0.7",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
},
"scripts": {
"build": "rimraf dist && tsc",
"ts.check": "tsc --project tsconfig.json",
"add-build": "git add dist",
"start": "node ./dist/index.js",
"dev": "nodemon ./index.ts",
"prisma:migrate": "npx prisma migrate dev",
"prisma:studio": "npx prisma studio"
},
"pre-commit": [
"ts.check",
"build",
"add-build"
]
}