UNPKG

graphql-constraint-directive

Version:
66 lines (65 loc) 2.29 kB
{ "name": "graphql-constraint-directive", "version": "6.0.0", "description": "Validate GraphQL fields", "main": "index.js", "types": "index.d.ts", "scripts": { "test": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-full.js", "test-documentation": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-documentation.js", "test-schema-wrapper": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-schema-wrapper.js", "test-apollo-plugin": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-apollo-plugin.js", "test-apollo4-plugin": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-apollo4-plugin.js", "test-envelop-plugin": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-envelop-plugin.js", "test-typescript": "tsc --project tsconfig.apollo4.json && tsc --project tsconfig.apollo.json", "test-validation-rule-express-graphql": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/testsuite-validation-rule-express-graphql.js" }, "author": "James Mortemore (jamesmortemore@gmail.com)", "license": "ISC", "engines": { "node": ">=14.0.0" }, "repository": { "type": "git", "url": "git@github.com:confuser/graphql-constraint-directive.git" }, "bugs": { "url": "https://github.com/confuser/graphql-constraint-directive/issues" }, "keywords": [ "graphql", "validate", "validation", "validator", "directive", "constraint" ], "devDependencies": { "@apollo/server": "4.9.5", "@graphql-yoga/node": "2.13.13", "apollo-server-express": "3.13.0", "coveralls": "3.1.1", "express": "4.21.2", "graphql": "16.6.0", "mocha": "10.8.2", "nyc": "17.1.0", "standard": "16.0.4", "supertest": "7.0.0", "typescript": "^5.5.3" }, "dependencies": { "@graphql-tools/schema": "^10.0.0", "@graphql-tools/utils": "^10.0.0", "validator": "^13.6.0" }, "peerDependencies": { "graphql": ">=14.0.0" }, "standard": { "globals": [ "describe", "it", "before" ] } }