-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 2.39 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
{
"name": "naruto_api",
"version": "1.0.0",
"author": {
"email": "igor_wessel@hotmail.com",
"name": "Igor Wessel da Silva"
},
"license": "MIT",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=production node dist/index.js",
"dev": "yarn server",
"server": "cross-env NODE_ENV=development nodemon --exec sucrase-node src/index.ts",
"nexus:reflect": "cross-env NEXUS_SHOULD_EXIT_AFTER_REFLECTION=true sucrase-node src/index.ts",
"test": "cross-env NODE_ENV=test yarn test:unit && yarn test:integration",
"test:unit": "jest",
"test:watch": "jest --watch",
"test:integration": "jest --passWithNoTests --config jest.config.integration.js",
"test:integration:watch": "yarn test:integration --watch",
"lint": "eslint . --ext js,ts",
"lint:fix": "eslint --fix . --ext js,ts",
"format": "prettier -w .",
"type-check": "tsc --project tsconfig.json --pretty --noEmit",
"prepare": "husky install",
"build": "tsc --project tsconfig.build.json",
"ci": "yarn lint && yarn type-check && yarn test"
},
"prisma": {
"seed": "node prisma/seed.js"
},
"dependencies": {
"@fastify/cors": "^8.0.0",
"@fastify/rate-limit": "^7.0.0",
"@prisma/client": "^3.15.2",
"altair-fastify-plugin": "^4.5.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"fastify": "^4.0.3",
"fp-ts": "^2.12.1",
"graphql": "^16.5.0",
"graphql-depth-limit": "1.1.0",
"graphql-query-complexity": "^0.11.0",
"io-ts": "2.2.16",
"io-ts-types": "0.5.16",
"mercurius": "^10.0.0",
"module-alias": "2.2.2",
"nexus": "1.3.0",
"nexus-validate": "1.2.0"
},
"devDependencies": {
"@types/graphql-depth-limit": "1.1.3",
"@types/jest": "^28.1.1",
"@types/module-alias": "2.0.1",
"@types/node": "^18.0.0",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"eslint": "^8.17.0",
"eslint-config-prettier": "8.5.0",
"husky": "^8.0.1",
"jest": "^28.1.1",
"jest-mock-extended": "^2.0.6",
"lint-staged": "^13.0.2",
"mercurius-integration-testing": "^5.0.0",
"nodemon": "^2.0.16",
"prettier": "^2.7.1",
"prisma": "^3.15.2",
"sucrase": "^3.21.0",
"ts-jest": "^28.0.5",
"typescript": "^4.7.3",
"yup": "0.32.11"
},
"lint-staged": {
"*.@(js|ts)": [
"yarn lint",
"yarn format"
]
}
}