-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.36 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
{
"name": "badgehub-api",
"version": "1.0.0",
"description": "Node project for the BadgeHub API",
"type": "module",
"main": "dist/index.js",
"scripts": {
"install:container": "docker exec -it badgehub-api-node-1 npm install",
"start": "node dist/index.js",
"monitor": "docker exec -it badgehub-api-node-1 npx pm2 monit",
"lint": "pretty-quick --check",
"build": "tsc",
"swagger": "tsoa spec-and-routes",
"dev": "node --import tsx --watch src/index.ts",
"backup": "docker exec -it badgehub-api-db-1 /usr/bin/pg_dump --username badgehub badgehub -f /var/backup/data-backup-`date +\"%Y-%m-%dT%H:%m\"`.sql",
"test": "vitest --coverage.enabled true",
"prepare": "husky"
},
"license": "MIT",
"dependencies": {
"express": "^4.21.1",
"pg": "^8.11.5",
"pino-http": "^10.1.0",
"pm2": "^5.4.0",
"swagger-ui-express": "^5.0.0",
"tsoa": "^6.2.1"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.12.7",
"@types/pg": "^8.11.5",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.6",
"@vitest/coverage-v8": "^2.1.1",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"supertest": "^7.0.0",
"tsx": "^4.11.2",
"typescript": "^5.4.5",
"vitest": "^2.1.1"
}
}