UNPKG

graphql-mandatory-validator

Version:

A GraphQL schema validator for mandatory fields with default values and composite type validation

46 lines (45 loc) 1.11 kB
{ "name": "graphql-mandatory-validator", "version": "1.1.6", "description": "A GraphQL schema validator for mandatory fields with default values and composite type validation", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "graphql-validator": "./bin/cli.js" }, "scripts": { "build": "tsc", "clean": "rm -rf dist", "dev": "tsc --watch", "prepublishOnly": "npm run clean && npm run build", "prepack": "npm run build", "release:patch": "npm version patch && npm publish && git push", "release:minor": "npm version minor && npm publish && git push", "release:major": "npm version major && npm publish && git push" }, "keywords": [ "graphql", "validator", "schema", "mandatory-fields", "composite-types", "pre-commit", "default-values", "git-hooks" ], "author": "Sairam", "license": "MIT", "devDependencies": { "@types/node": "^20.0.0", "typescript": "^5.0.0" }, "files": [ "dist/", "bin/", "CHANGELOG.md" ], "engines": { "node": ">=16.0.0" }, "preferGlobal": true }