UNPKG

vite-plugin-graphql-codegen

Version:

Zero-config vite plugin that uses the vite file watcher to run graphql codegen programmatically without needing to start a separate watcher

81 lines (80 loc) 2.47 kB
{ "name": "vite-plugin-graphql-codegen", "version": "3.6.1", "description": "Zero-config vite plugin that uses the vite file watcher to run graphql codegen programmatically without needing to start a separate watcher", "type": "module", "keywords": [ "graphql", "codegen", "graphql-codegen", "graphql-code-generator", "vite", "vite-plugin", "vite-plugin-graphql-codegen" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/danielwaltz/vite-plugin-graphql-codegen.git" }, "author": "Daniel Waltz", "files": [ "dist" ], "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs" } }, "scripts": { "build": "unbuild", "stub": "unbuild --stub", "lint": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings 0", "publint": "npx -y publint@latest && npx -y @arethetypeswrong/cli@latest --pack", "type-check": "tsc --noEmit", "test:unit": "vitest", "test:unit:run": "vitest run", "test": "run-s lint type-check build test:unit:run publint", "release": "standard-version", "semantic-release": "semantic-release", "prepack": "npm run build" }, "peerDependencies": { "@graphql-codegen/cli": ">=1.0.0 <6.0.0", "graphql": ">=14.0.0 <17.0.0", "vite": ">=2.7.0 <7.0.0" }, "devDependencies": { "@danielwaltz/eslint-config": "^2.3.1", "@graphql-codegen/cli": "^5.0.6", "@graphql-codegen/plugin-helpers": "^5.1.0", "@graphql-codegen/typescript": "^4.1.6", "@graphql-codegen/typescript-operations": "^4.6.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.2", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@types/node": "~22.10.10", "eslint": "^9.26.0", "graphql": "^16.11.0", "graphql-tag": "^2.12.6", "jiti": "^2.4.2", "npm-run-all2": "^8.0.1", "prettier": "^3.5.3", "semantic-release": "^24.2.3", "standard-version": "^9.5.0", "typescript": "~5.8.3", "unbuild": "~3.4.2", "vite": "^6.3.5", "vitest": "^3.1.3" }, "overrides": { "conventional-changelog-conventionalcommits": ">= 8.0.0" } }