-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
103 lines (103 loc) · 3.35 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "Sinhgad-Mess",
"version": "1.0.0",
"description": "REST API Boilerplate with Node JS, TypeScript, Express and Prisma",
"main": "src/index.ts",
"repository": "https://github.com/GDSC-NBNSSOE/mess-backend.git",
"scripts": {
"start": "yarn build && pm2 start ecosystem.config.json --no-daemon",
"dev": "cross-env NODE_ENV=development nodemon src/index.ts",
"test": "docker-compose -f docker-compose.only-db-test.yml up -d && yarn db:push && jest -i --colors --verbose --detectOpenHandles && docker-compose -f docker-compose.only-db-test.yml down",
"test:watch": "docker-compose -f docker-compose.only-db-test.yml up -d && yarn db:push && jest -i --watchAll && docker-compose -f docker-compose.only-db-test.yml down",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --check **/*.ts",
"prettier:fix": "prettier --write **/*.ts",
"db:push": "prisma db push",
"db:studio": "prisma studio",
"docker:prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up",
"docker:dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
"docker:test": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up",
"docker:dev-db:start": "docker-compose -f docker-compose.only-db-dev.yml up -d",
"docker:dev-db:stop": "docker-compose -f docker-compose.only-db-dev.yml down",
"build": "mkdir build && tsc -p tsconfig.json"
},
"keywords": [
"node",
"node.js",
"typescript",
"boilerplate",
"express",
"rest",
"api",
"prisma",
"postgresql",
"es6",
"es7",
"es8",
"es9",
"docker",
"passport",
"joi",
"eslint",
"prettier"
],
"author": "Antonio Lázaro",
"license": "ISC",
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@jest/globals": "^29.7.0",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/morgan": "^1.9.9",
"@types/node": "^20.14.11",
"@types/passport": "^1.0.16",
"@types/passport-jwt": "^4.0.1",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/xss-filters": "^0.0.30",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"node-mocks-http": "^1.15.0",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
},
"dependencies": {
"@prisma/client": "^5.17.0",
"@types/bcryptjs": "^2.4.6",
"@types/nodemailer": "^6.4.15",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1",
"helmet": "^7.1.0",
"http-status": "^1.7.4",
"joi": "^17.13.3",
"moment": "^2.30.1",
"morgan": "^1.10.0",
"nodemailer": "^6.9.14",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"pm2": "^5.4.2",
"prisma": "^5.17.0",
"winston": "^3.13.1",
"xss-filters": "^1.2.7"
}
}