UNPKG

graphql-validate-directive

Version:
57 lines (56 loc) 1.57 kB
{ "name": "graphql-validate-directive", "description": "A GraphQL directive for input validation", "version": "0.3.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "types/index.d.ts", "repository": "https://github.com/cnwangjie/graphql-validate-directive.git", "author": "Wang Jie <i@i8e.net>", "license": "MIT", "devDependencies": { "@graphql-tools/schema": "^8.3.5", "@types/jest": "^26.0.21", "@types/lodash": "^4.14.180", "@types/node": "^14.14.31", "apollo-server": "^3.6.6", "codecov": "^3.8.3", "eslint": "^7.21.0", "graphql": "^16.3.0", "jest": "^26.6.3", "ts-jest": "^26.5.4", "typescript": "^4.6.3" }, "scripts": { "build": "yarn build:cjs && yarn build:esm", "build:esm": "tsc -p . -m ESNext --outDir dist/esm", "build:cjs": "tsc -p . -m commonjs --outDir dist/cjs", "test": "jest", "prepublishOnly": "yarn build" }, "jest": { "testEnvironment": "node", "transform": { "^.+\\.ts$": "ts-jest" }, "collectCoverageFrom": [ "src/**/*.ts" ] }, "dependencies": { "@graphql-tools/utils": "^8.6.5", "ajv": "^8.14.0", "apollo-server-plugin-base": "^3.5.2", "lodash": "^4.17.21" }, "peerDependencies": { "graphql": "^16.3.0" }, "keywords": [ "graphql", "directive", "validate", "validation" ], "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }