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

79 lines (78 loc) 2.4 kB
{ "name": "vite-plugin-graphql-codegen", "version": "3.6.3", "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 <8.0.0" }, "devDependencies": { "@danielwaltz/eslint-config": "^2.5.0", "@graphql-codegen/plugin-helpers": "^5.1.1", "@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.3", "@semantic-release/npm": "^12.0.2", "@semantic-release/release-notes-generator": "^14.0.3", "@types/node": "~22.15.35", "eslint": "^9.30.1", "graphql-tag": "^2.12.6", "jiti": "^2.4.2", "npm-run-all2": "^8.0.4", "prettier": "^3.6.2", "semantic-release": "^24.2.6", "standard-version": "^9.5.0", "typescript": "~5.8.3", "unbuild": "~3.4.2", "vite": "^7.0.3", "vitest": "^3.2.4" }, "overrides": { "conventional-changelog-conventionalcommits": ">=9.0.0" } }