UNPKG

graphql-codegen-typescript-operation-types

Version:
74 lines (73 loc) 2.05 kB
{ "name": "graphql-codegen-typescript-operation-types", "version": "2.0.2", "description": "GraphQL codegen plugin that generates only the types used in the operations", "main": "dist/main/index.js", "typings": "dist/main/index.d.ts", "module": "dist/module/index.js", "repository": "https://github.com/Stonepaw/graphql-codegen-typescript-operation-types", "license": "MIT", "keywords": [ "graphql", "codegen", "graphql-codegen", "gql", "typescript" ], "scripts": { "test": "jest --forceExit --no-watchman", "lint": "eslint src --ext .ts", "build": "run-p build:*", "build:main": "tsc -p tsconfig.prod.json", "build:module": "tsc -p tsconfig.module.json", "fix": "run-s fix:*", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:lint": "eslint src --ext .ts --fix", "watch:build": "tsc -p tsconfig.prod.json -w", "watch:test": "jest --watch" }, "engines": { "node": ">=16" }, "dependencies": { "@graphql-codegen/typescript": "^4.0.1", "@graphql-codegen/plugin-helpers": "^5.0.0" }, "devDependencies": { "@graphql-codegen/testing": "^3.0.0", "@types/jest": "^29.5.2", "@types/node": "^18.11.17", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.27.5", "graphql": "^16.7.1", "jest": "^29.6.0", "jest-diff": "^28.1.3", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.1.6" }, "peerDependencies": { "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" }, "files": [ "dist/main", "dist/module", "!**/*.spec.*", "!**/*.json", "CHANGELOG.md", "LICENSE", "README.md" ], "config": { "commitizen": { "path": "cz-conventional-changelog" } } }