UNPKG

graphql-component

Version:

Build, customize and compose GraphQL schemas in a componentized fashion

86 lines (85 loc) 2.32 kB
{ "name": "graphql-component", "version": "6.0.0-alpha.3", "description": "Build, customize and compose GraphQL schemas in a componentized fashion", "keywords": [ "graphql", "schema-stitching", "composition", "module", "component" ], "main": "dist/index.js", "scripts": { "build": "tsc", "prepublish": "npm run build", "test": "tape -r ts-node/register \"test/**/*.ts\"", "start-composition": "DEBUG=graphql-component ts-node examples/composition/server/index.ts", "start-federation": "DEBUG=graphql-component ts-node examples/federation/run-federation-example.ts", "lint": "npx eslint src/index.ts", "cover": "nyc npm test", "update-deps": "ncu -u && npm install", "format": "prettier --write \"src/**/*.ts\"", "precommit": "npm run lint && npm run test", "prepare": "husky install" }, "author": "Trevor Livingston <tlivings@gmail.com>", "repository": "https://github.com/ExpediaGroup/graphql-component", "license": "MIT", "dependencies": { "@apollo/federation": "^0.38.1", "@graphql-tools/delegate": "^10.2.0", "@graphql-tools/merge": "^9.0.9", "@graphql-tools/mock": "^9.0.6", "@graphql-tools/schema": "^10.0.8", "@graphql-tools/stitch": "^9.4.0", "@graphql-tools/utils": "^10.5.6", "debug": "^4.3.7" }, "peerDependencies": { "graphql": "^16.0.0" }, "devDependencies": { "@apollo/gateway": "^2.9.3", "@types/graphql": "^14.5.0", "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "apollo-server": "^3.13.0", "casual": "^1.6.2", "eslint": "^9.19.0", "globals": "^15.14.0", "graphql": "^16.9.0", "graphql-tag": "^2.12.6", "npm-check-updates": "^17.1.11", "nyc": "^17.1.0", "sinon": "^19.0.2", "tape": "^5.9.0", "ts-node": "^10.9.2", "typescript": "^5.6.3", "typescript-eslint": "^8.22.0", "husky": "^8.0.0", "prettier": "^2.8.8" }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "text-summary", "html" ], "sourceMap": true, "instrument": true, "all": true }, "engines": { "node": ">=18.0.0" } }