@ovrsea/graphql-detect-unused-operations
Version:
Library to check unused resolvers at Ovrsea
61 lines (60 loc) • 1.73 kB
JSON
{
"name": "@ovrsea/graphql-detect-unused-operations",
"version": "1.1.0",
"description": "Library to check unused resolvers at Ovrsea",
"keywords": [
"graphql",
"schema",
"checker",
"detect",
"unused",
"operations",
"utils"
],
"publishConfig": {
"access": "public"
},
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
"scripts": {
"prebuild": "rm -rf lib && rm -rf lib-esm",
"build": "npm run prebuild && tsc && tsc --p tsconfig.esm.json",
"generate:types": "npx graphql-codegen --config codegen.yml",
"schema:unusedOperations": "ts-node ./scripts/checkUnusedResolvers.ts",
"test": "jest --watch",
"ci:test": "jest",
"package:publish": "npm run build && npm publish"
},
"author": "Ovrsea",
"license": "MIT",
"dependencies": {
"@graphql-tools/code-file-loader": "7.3.6",
"@graphql-tools/graphql-file-loader": "^7.5.16",
"@graphql-tools/load": "7.7.7",
"@graphql-tools/utils": "8.12.0",
"@swc/core": "^1.3.11",
"@types/glob": "7.2.0",
"@types/lodash": "4.14.185",
"glob": "7.2.3",
"graphql": "15.8.0",
"graphql-tag": "2.12.6",
"graphql-tools": "8.3.6",
"jest": "27.5.1",
"lodash": "4.17.21",
"ts-jest": "27.1.5",
"ts-morph": "15.1.0",
"ts-node": "10.9.1",
"typescript": "4.8.3"
},
"devDependencies": {
"@graphql-codegen/cli": "2.12.1",
"@graphql-codegen/introspection": "2.2.1",
"@graphql-codegen/typescript": "2.7.3",
"@graphql-codegen/typescript-operations": "2.5.3",
"@graphql-codegen/typescript-resolvers": "2.7.3",
"@swc-node/jest": "1.5.3",
"@types/jest": "27.5.2",
"@types/node": "17.0.41",
"jest-junit": "13.2.0"
}
}