-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.05 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
{
"name": "backend",
"version": "0.0.0",
"description": "TypeScript + Express API Server + Docker",
"private": true,
"engineStrict": true,
"engines": {
"node": ">=14.0.0 < 16.0.0",
"npm": ">=6.0.0"
},
"scripts": {
"prepare": "husky install",
"start": "npm run build && cross-env NODE_ENV=production node dist/server.js",
"dev": "cross-env NODE_ENV=development DEBUG=backend:* nodemon",
"build": "swc src -d dist --source-maps --copy-files",
"build:tsc": "tsc && tsc-alias",
"test": "jest --forceExit --detectOpenHandles",
"lint": "eslint --ignore-path .gitignore --ext .ts src/",
"lint:fix": "npm run lint -- --fix",
"prisma:init": "prisma init",
"prisma:migrate": "prisma migrate dev --preview-feature",
"prisma:generate": "prisma generate",
"deploy:prod": "npm run build && pm2 start ecosystem.config.js --only prod",
"deploy:dev": "pm2 start ecosystem.config.js --only dev"
},
"prisma": {
"schema": "src/prisma/schema.prisma"
},
"dependencies": {
"@babel/node": "^7.18.6",
"@graphql-tools/graphql-file-loader": "^7.4.0",
"@graphql-tools/load": "^7.7.0",
"@graphql-tools/load-files": "^6.6.0",
"@types/jest": "^28.1.4",
"apollo-server-express": "^3.10.0",
"chalk": "^4.1.2",
"cookie-parser": "~1.4.4",
"cross-env": "^7.0.3",
"debug": "~2.6.9",
"express": "~4.16.1",
"jest": "^28.1.2",
"morgan": "~1.9.1",
"pm2": "^5.2.0",
"swagger-jsdoc": "^6.2.1",
"swagger-ui-express": "^4.4.0",
"ts-jest": "^28.0.5"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@prisma/client": "^4.0.0",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.210",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.12",
"@types/debug": "^4.1.7",
"@types/express": "^4.17.13",
"@types/hpp": "^0.2.2",
"@types/jsonwebtoken": "^8.5.8",
"@types/morgan": "^1.9.3",
"@types/node": "^18.0.1",
"@types/supertest": "^2.0.12",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"envalid": "^7.3.1",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"express-graphql": "^0.12.0",
"graphql": "^16.5.0",
"hash": "^0.2.1",
"helmet": "^5.1.0",
"hpp": "^0.2.3",
"husky": "^8.0.1",
"jsonwebtoken": "^8.5.1",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.18",
"prettier": "^2.7.1",
"prisma": "^4.0.0",
"supertest": "^6.2.4",
"ts-node": "^10.8.2",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.4",
"winston": "^3.8.1",
"winston-daily-rotate-file": "^4.7.1"
}
}