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

80 lines (79 loc) 2.44 kB
{ "name": "vite-plugin-graphql-codegen", "type": "module", "version": "4.0.1", "description": "Zero-config vite plugin that uses the vite file watcher to run graphql codegen programmatically without needing to start a separate watcher", "author": "Daniel Waltz", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/danielwaltz/vite-plugin-graphql-codegen.git" }, "keywords": [ "graphql", "codegen", "graphql-codegen", "graphql-code-generator", "vite", "vite-plugin", "vite-plugin-graphql-codegen" ], "exports": { ".": "./dist/index.mjs", "./package.json": "./package.json" }, "files": [ "dist" ], "publishConfig": { "access": "public", "provenance": true, "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "tsdown", "lint": "eslint", "lint:fix": "eslint --fix", "prepack": "npm run build", "release": "standard-version", "semantic-release": "semantic-release", "test": "npm run prepack && npm run lint && npm run type-check && npm run test:unit:run && npm run test:publish", "test:attw": "npx -y @arethetypeswrong/cli@latest --pack --profile esm-only", "test:publint": "npx -y publint@latest", "test:publish": "npm run test:attw && npm run test:publint", "test:unit": "vitest", "test:unit:run": "vitest run", "type-check": "tsc --noEmit" }, "peerDependencies": { "@graphql-codegen/cli": ">=7.0.0", "graphql": ">=16.0.0", "vite": ">=7.0.0" }, "devDependencies": { "@danielwaltz/eslint-config": "^3.5.0", "@graphql-codegen/plugin-helpers": "^7.0.1", "@graphql-codegen/typescript": "^6.0.2", "@graphql-codegen/typescript-operations": "^6.0.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^12.0.8", "@semantic-release/npm": "^13.1.5", "@semantic-release/release-notes-generator": "^14.1.1", "@types/node": "~24.13.2", "eslint": "^10.5.0", "graphql-tag": "^2.12.6", "jiti": "^2.7.0", "prettier": "^3.8.4", "semantic-release": "^25.0.5", "standard-version": "^9.5.0", "tsdown": "^0.22.2", "typescript": "~6.0.3", "vite": "^8.0.16", "vitest": "^4.1.9" }, "overrides": { "conventional-changelog-conventionalcommits": ">=9.3.1" } }