-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.96 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
{
"name": "graphql-apollo-server-v4-prisma",
"version": "1.0.0",
"main": "server.js",
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc",
"start": "npm run build && cross-env TS_NODE_PROJECT=tsconfig.prod.json node -r tsconfig-paths/register dist/src/server.js",
"dev": "nodemon src/server.ts",
"push": "npx prisma db push",
"generate": "npx prisma generate",
"studio": "npx prisma studio",
"seed": "npx prisma db seed",
"test": "vitest run",
"test:coverage": "vitest --coverage",
"test:watch": "vitest watch",
"prestart": "yarn push && yarn generate",
"pm2": "pm2 start --name den npm -- start"
},
"dependencies": {
"@apollo/server": "^4.0.2",
"@graphql-tools/schema": "^9.0.4",
"@prisma/client": "latest",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"graphql": "^16.6.0",
"graphql-redis-subscriptions": "^2.5.0",
"graphql-subscriptions": "^2.0.0",
"graphql-ws": "^5.11.2",
"jose": "^4.10.3",
"typescript": "latest",
"ws": "^8.9.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0",
"@commitlint/cli": "^17.1.1",
"@commitlint/config-conventional": "^17.1.0",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.5",
"@types/express": "^4.17.14",
"@types/node": "^18.7.13",
"@types/ws": "^8.5.3",
"@vitest/coverage-c8": "^0.29.2",
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.20",
"prettier": "^2.7.1",
"prisma": "latest",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"tslib": "^2.4.0",
"ttypescript": "^1.5.13",
"typescript-transform-paths": "^3.3.1",
"vitest": "latest"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}