-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
78 lines (78 loc) · 2.46 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
{
"name": "gqlcheck",
"version": "0.4.1",
"description": "Performs additional checks on your GraphQL documents and operations to ensure they conform to your rules, whilst allow-listing existing operations and their constituent parts (and allowing overrides on a per-field basis). Rules include max selection set depth, max list nesting, require pagination, limit self-referencing loops, etc. Add your own rules!",
"main": "dist/index.js",
"bin": {
"gqlcheck": "dist/cli.js"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json -w",
"lint": "yarn run eslint . && yarn prettier:check",
"lint:fix": "yarn run eslint --fix . && yarn prettier:fix",
"test": "node --test",
"prepack": "rm -Rf dist && yarn build",
"version": "node scripts/postversion.mjs && git add src/version.ts",
"-----": "-----",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mjs,.cjs",
"prettier": "prettier --cache --ignore-path ./.eslintignore",
"prettier:all": "yarn prettier '**/*.{json,md,mdx,html,js,jsx,ts,tsx,mjs,cjs,mts,cts,yml}'",
"prettier:fix": "yarn prettier:all --write",
"prettier:check": "yarn prettier:all --list-different"
},
"repository": {
"type": "git",
"url": "git+https://github.com/graphile/gqlcheck.git"
},
"keywords": [
"graphql",
"validation",
"persisted",
"trusted",
"stored",
"queries",
"operations",
"documents",
"check",
"checkin",
"rules",
"checks",
"gql"
],
"author": "Benjie Gillam <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/graphile/gqlcheck/issues"
},
"homepage": "https://github.com/graphile/gqlcheck#readme",
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/debug": "^4.1.12",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "8.x",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint_d": "^13.1.2",
"jest-diff": "^29.7.0",
"prettier": "^3.3.2",
"typescript": "^5.5.1-rc"
},
"dependencies": {
"graphile-config": "^0.0.1-beta.9",
"graphql": "15.x || ^16.8.2 || ^17.0.0-alpha.3",
"json5": "^2.2.3",
"kjsonl": "^0.3.0",
"tslib": "^2.6.3"
},
"files": [
"dist"
],
"prettier": {
"proseWrap": "always"
}
}