-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.27 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": "variables",
"version": "1.0.0",
"main": "./src/server.ts",
"license": "MIT",
"scripts": {
"typescript:verify:install": "npx ts-node src/index.ts",
"ts-node": "ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\"",
"coverage:view": "serve coverage/lcov-report",
"docs:offline": "npx graphdoc -s ./src/generated/schema/combinedSchema.graphql -o ./docs/schema",
"docs:online": "npx graphdoc -e http://localhost:3000/graphql -o ./docs/schema",
"docs:view": "npx serve docs/schema",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:dev": "cross-env NODE_ENV=test jest --detectOpenHandles",
"test:watch": "cross-env NODE_ENV=test jest --coverage --watchAll",
"build": "tsc",
"build:watch": "onchange 'src/**/*.ts' -- npm run build",
"clean": "rm -rf coverage dist src/generated",
"dev": "npm run clean && npm run prisma:generate && cross-env NODE_ENV=development nodemon --ignore generated/ --watch ./src/graphql -e js,ts,tsx,graphql --watch ./src/**/*.ts",
"prisma:format": "npx prisma format",
"prisma:generate": "npm run prisma:format && npx prisma generate",
"db:migrate": "npx prisma migrate dev",
"db:reset": "npx prisma migrate reset --skip-generate dev ",
"db:seed": "npx prisma db seed --preview-feature",
"start": "node src/index.js"
},
"nodemonConfig": {
"ignore": [
"tests/*"
],
"delay": 100
},
"resolutions": {
"graphql": "^15.5"
},
"dependencies": {
"@prisma/client": "^2.29.1",
"altair-fastify-plugin": "^4.0.8",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"fastify": "^3.20.2",
"fastify-cors": "^6.0.2",
"graphql-scalars": "^1.10.0",
"mercurius": "^8.1.2"
},
"devDependencies": {
"@2fd/graphdoc": "^2.4.0",
"@graphql-tools/schema": "^8.1.1",
"@graphql-typed-document-node/core": "^3.1.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.6.1",
"@types/source-map-support": "^0.5.4",
"eslint": "^7.32.0",
"jest": "^27.0.6",
"mercurius-codegen": "^1.8.0",
"mercurius-integration-testing": "^3.2.0",
"nodemon": "^2.0.12",
"onchange": "^7.1.0",
"prisma": "^2.29.1",
"serve": "^12.0.0",
"source-map-support": "^0.5.19",
"ts-jest": "^27.0.5",
"ts-node": "^10.2",
"tslib": "^2.3",
"typescript": "^4.3.5"
}
}