-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.91 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
{
"name": "mercurius-dynamic-schema",
"version": "1.1.0",
"description": "Serve different schema per request according a defined strategy",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:standard": "standard | snazzy",
"lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin index.test-d.ts",
"prepare": "husky",
"test": "npm run test:unit && npm run test:types",
"test:unit": "tap test/*.test.js && c8 report --check-coverage --temp-directory .tap/coverage --statements 97.67 --branches 85.71 --functions 100 --lines 97.67",
"test:types": "tsd"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nearform/mercurius-dynamic-schema.git"
},
"keywords": [
"mercurius",
"fastify",
"graphql",
"fatify-plugin",
"mercurius-plugin"
],
"author": "brainrepo",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"bugs": {
"url": "https://github.com/nearform/mercurius-dynamic-schema/issues"
},
"homepage": "https://github.com/nearform/mercurius-dynamic-schema#readme",
"peerDependencies": {
"fastify": "^4.15.0",
"mercurius": "^14.0.0"
},
"dependencies": {
"fastify-plugin": "^5.0.1"
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@types/node": "^22.0.0",
"@types/ws": "^8.5.3",
"c8": "^10.1.2",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.0.2",
"mercurius": "^14.0.0",
"prettier": "^3.0.3",
"tap": "^21.0.0",
"tsd": "^0.31.0",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.{js,jsx}": "eslint --cache --fix"
},
"tsd": {
"directory": "test/types"
}
}