-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
85 lines (85 loc) · 2.03 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
{
"name": "grpc-graphql-server",
"version": "1.2.1",
"description": "Generates a GraphQL schema from gRPC Protobuf and creates the server",
"main": "dist/index.js",
"bin": "bin/index.js",
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "eslint --fix .",
"lint:fix": "eslint --fix",
"build": "tsc",
"prepack": "tsc"
},
"keywords": [
"gRPC",
"GraphQL"
],
"repository": "https://github.com/single9/node-grpc-graphql-server",
"author": "Duye Chen",
"license": "MIT",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@graphql-tools/schema": "^8.3.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.13",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"apollo-server-express": "^2.19.2",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"express": "^4.17.1",
"google-protobuf": "^3.21.2",
"graphql": "^14.7.0",
"graphql-request": "^4.3.0",
"grpc-tools": "^1.11.3",
"husky": "^7.0.4",
"jest": "^28.1.3",
"lint-staged": "^15.2.5",
"prettier": "^2.5.1",
"ts-jest": "^28.0.7",
"typescript": "^4.9.5"
},
"dependencies": {
"@grpc/grpc-js": "^1.10.8",
"@grpc/proto-loader": "^0.7.13",
"debug": "^4.3.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.test\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"coverageThreshold": {
"global": {
"lines": 80
}
},
"testEnvironment": "node"
}
}