@cungminh2710/graphql-depth-limit
Version:
Limit the complexity of your GraphQL queries based on depth.
66 lines (65 loc) • 1.65 kB
JSON
{
"name": "@cungminh2710/graphql-depth-limit",
"version": "1.0.0",
"description": "Limit the complexity of your GraphQL queries based on depth.",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --treeshake",
"clean": "bin/clean.sh",
"format": "prettier --config .prettierrc.yaml --write .",
"lint": "tslint -p tsconfig.json",
"prepare": "pnpm run build",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"test": "jest --config jestconfig.json"
},
"ava": {
"verbose": true
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**"
],
"repository": {
"type": "git",
"url": "git+https://github.com/stems/graphql-depth-limit.git"
},
"keywords": [
"graphql",
"complexity",
"query",
"depth",
"limit"
],
"author": "Minh Cung",
"license": "MIT",
"bugs": {
"url": "https://github.com/cungminh2710/graphql-depth-limiter/issues"
},
"homepage": "https://github.com/cungminh2710/graphql-depth-limiter#readme",
"peerDependencies": {
"graphql": "^16"
},
"devDependencies": {
"@types/jest": "29.0.3",
"eslint": "^8.24.0",
"eslint-config-airbnb-base": "^15.0.0",
"graphql": "^16.6.0",
"jest": "29.0.3",
"prettier": "2.7.1",
"react": "18.2.0",
"ts-jest": "29.0.2",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tsup": "6.2.3",
"typescript": "4.8.3"
},
"dependencies": {
}
}