{
  "name": "graphql-codegen-plugin-typescript-swr",
  "version": "0.11.1",
  "description": "A GraphQL code generator plug-in that automatically generates utility functions for SWR.",
  "main": "build/main/index.js",
  "typings": "build/main/index.d.ts",
  "module": "build/module/index.js",
  "repository": "https://github.com/croutonn/graphql-codegen-plugin-typescript-swr",
  "license": "MIT",
  "engines": {
    "node": ">=22.0.0"
  },
  "keywords": [
    "graphql",
    "codegen",
    "typescript",
    "ts",
    "swr",
    "stale-while-revalidate",
    "react"
  ],
  "scripts": {
    "build": "run-p build:*",
    "build:main": "tsc -p tsconfig.main.json",
    "build:module": "tsc -p tsconfig.module.json",
    "prepublishOnly": "yarn build",
    "fix": "run-s fix:*",
    "fix:prettier": "prettier \"src/**/*.ts\" --write",
    "fix:lint": "eslint src --ext .ts --fix",
    "test": "run-s build test:*",
    "test:lint": "eslint src --ext .ts",
    "test:prettier": "prettier \"src/**/*.ts\" --list-different",
    "test:integrate": "vitest run",
    "sample:codegen": "cd sample && ../node_modules/.bin/graphql-codegen --config codegen.yml",
    "watch:build": "tsc -p tsconfig.json -w"
  },
  "peerDependencies": {
    "graphql": "<17.0.0"
  },
  "dependencies": {
    "@graphql-codegen/plugin-helpers": "^2.3.1",
    "@graphql-codegen/visitor-plugin-common": "^2.5.1",
    "graphql-request": "^6.1.0",
    "micromatch": "^4.0.4",
    "pascal-case": "^3.1.2",
    "swr": "^2.0.0"
  },
  "devDependencies": {
    "@graphql-codegen/cli": "^8.0.0",
    "@graphql-codegen/testing": "^5.0.0",
    "@graphql-codegen/typescript": "^2.0.0",
    "@graphql-codegen/typescript-graphql-request": "^6.2.0",
    "@graphql-codegen/typescript-operations": "^2.0.0",
    "@types/micromatch": "^4.0.1",
    "@types/node": "^22.0.0",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "eslint": "^8.0.0",
    "eslint-config-airbnb": "^19.0.0",
    "eslint-config-airbnb-typescript": "^17.0.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-import-resolver-typescript": "^3.0.0",
    "eslint-plugin-import": "^2.23.3",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-react": "^7.23.2",
    "eslint-plugin-react-hooks": "^4.2.0",
    "graphql": "<17.0.0",
    "jest-diff": "^30.0.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.2.1",
    "react": "^17.0.2",
    "typescript": "^5.9.3",
    "vitest": "^4.0.0"
  },
  "files": [
    "build/main",
    "build/module",
    "!**/*.spec.*",
    "!**/*.json",
    "LICENSE",
    "README.md"
  ]
}
