-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
88 lines (88 loc) · 2.92 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
{
"name": "fastify-prisma-nexus-graphql-jest",
"license": "MIT",
"scripts": {
"build": "yarn -s clean && yarn -s generate && tsc",
"build:watch": "yarn -s clean && yarn -s generate && tsc --watch",
"clean": "rm -rf dist && rm -rf ./src/generated && rm -rf ./src/graphql/schema.graphql",
"db:push": "prisma db push --preview-feature",
"dev:pretty": "yarn dev | pino-pretty",
"dev:typecheck": "tsc --watch --noEmit",
"dev": "yarn dev:migrate && yarn dev:typecheck && tsc watch src/index.ts",
"format": "npx prettier --write './**/*.{ts,md}'",
"generate:nexus": "ts-node --transpile-only src/schema",
"generate:prisma": "prisma generate",
"generate": "yarn -s generate:prisma && yarn -s generate:nexus",
"migrate:deploy": "prisma migrate deploy",
"migrate:dev": "prisma migrate dev --skip-seed",
"migrate:reset": "prisma migrate reset",
"start": "node dist/src/index",
"generate:secret": "ts-node src/secretGenerator",
"test": "yarn -s build && jest --detectOpenHandles --coverage --runTestsByPath $npm_config_file",
"test:all": "yarn -s build && jest --detectOpenHandles --coverage ./dist"
},
"dependencies": {
"@fastify/cookie": "^8.3.0",
"@fastify/formbody": "^7.4.0",
"@fastify/passport": "^2.2.0",
"@fastify/session": "^10.1.1",
"@fastify/swagger": "^8.3.1",
"@godaddy/terminus": "^4.11.2",
"@nexus/schema": "^0.20.1",
"@prisma/client": "^4.13.0",
"@sentry/node": "7.39.0",
"@sentry/tracing": "7.39.0",
"@types/pg": "^8.6.6",
"@types/uuid": "^9.0.1",
"altair-fastify-plugin": "5.0.16",
"altair-graphql-plugin-graphql-explorer": "^1.0.2",
"bcryptjs": "^2.4.3",
"dotenv": "16.0.3",
"fastify": "4.15.0",
"fastify-plugin": "4.5.0",
"graphql": "16.6.0",
"graphql-middleware": "^6.1.33",
"graphql-scalars": "1.20.1",
"graphql-shield": "^7.6.5",
"install": "^0.13.0",
"mercurius": "12.2.0",
"nexus": "1.3.0",
"nexus-prisma": "1.0.4",
"npm": "^9.6.2",
"passport-local": "^1.0.0",
"pino": "^7.11.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^3.2.1",
"@graphql-codegen/schema-ast": "^3.0.1",
"@jest/globals": "^29.5.0",
"@mermaid-js/mermaid-cli": "^10.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/jest": "29.4.0",
"@types/node": "^18.15.5",
"@types/passport-local": "^1.0.35",
"axios": "^1.3.4",
"crypto": "^1.0.1",
"jest": "29.4.3",
"mercurius-codegen": "^5.0.2",
"mercurius-integration-testing": "^8.0.0",
"pg": "^8.10.0",
"pino-pretty": "^10.0.0",
"prisma": "^4.13.0",
"prisma-erd-generator": "^1.5.4",
"tap": "^16.3.4",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"ts-node-dev": "2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "5.0.4"
},
"engines": {
"node": "^19.6.1"
},
"alias": {
"@graphql": "./src/graphql/",
"@plugins": "./src/plugins/",
"@tests": "./tests/"
}
}