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
84 lines (83 loc) • 2.52 kB
JSON
{
"name": "vite-plugin-graphql-codegen",
"type": "module",
"version": "3.8.0",
"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": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org/"
},
"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 <7.0.0",
"graphql": ">=14.0.0 <17.0.0",
"vite": ">=2.7.0 <9.0.0"
},
"devDependencies": {
"@danielwaltz/eslint-config": "^2.6.2",
"@graphql-codegen/plugin-helpers": "^6.1.0",
"@graphql-codegen/typescript": "^5.0.7",
"@graphql-codegen/typescript-operations": "^5.0.7",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.2",
"@semantic-release/npm": "^13.1.3",
"@semantic-release/release-notes-generator": "^14.1.0",
"@types/node": "~22.17.2",
"eslint": "^9.39.2",
"graphql-tag": "^2.12.6",
"jiti": "^2.6.1",
"npm-run-all2": "^8.0.4",
"prettier": "^3.7.4",
"semantic-release": "^25.0.2",
"standard-version": "^9.5.0",
"typescript": "~5.9.3",
"unbuild": "~3.4.2",
"vite": "^7.3.0",
"vitest": "^4.0.16"
},
"overrides": {
"conventional-changelog-conventionalcommits": ">=9.1.0"
}
}