UNPKG

@maktouch/graphql-directive-connection

Version:

Generate relay connections by marking fields with a @connection directive.

69 lines (68 loc) 1.93 kB
{ "name": "@maktouch/graphql-directive-connection", "version": "3.0.0", "description": "Generate relay connections by marking fields with a @connection directive.", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "rm -rf lib && tsc", "format": "./node_modules/.bin/prettier --write 'src/**/*.{ts,tsx,js,jsx}'", "lint": "./node_modules/.bin/tslint --fix 'src/**/*.{ts,tsx}'", "test": "jest", "prepare": "npm run build", "prepublishOnly": "npm run test", "version": "git add -A src", "postversion": "git push && git push --tags" }, "repository": "git@github.com:taylorgoolsby/graphql-directive-connection.git", "author": "Taylor Goolsby <taylorgoolsby@users.noreply.github.com>", "license": "GPL-3.0", "engines": { "node": ">=12.x" }, "peerDependencies": { "@graphql-tools/schema": "^8.3.2", "@graphql-tools/utils": "^8.6.2", "@graphql-tools/wrap": "^8.4.2", "graphql": "^14.0.0 || ^15.0.0" }, "devDependencies": { "@babel/core": "^7.15.0", "@babel/node": "^7.14.9", "@babel/preset-env": "^7.15.0", "@graphql-tools/schema": "^8.3.2", "@graphql-tools/utils": "^8.6.2", "@graphql-tools/wrap": "^8.4.2", "@types/fs-extra": "^8.0.0", "@types/graphql": "^14.5.0", "@types/jest": "^26.0.19", "@types/lodash.get": "^4.4.6", "@types/node": "^14.17.9", "@types/ws": "^7.4.7", "graphql": "^15.5.1", "husky": "^1.3.1", "jest": "^26.6.3", "lint-staged": "^7.3.0", "prettier": "^2.1.2", "ts-jest": "^26.4.4", "ts-node": "^10.2.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.1.3" }, "keywords": [ "graphql", "sdl", "graphql-schema-language", "graphql-schema", "schema", "directive", "relay", "connection" ], "husky": { "hooks": { "pre-commit": "lint-staged" } } }