{
  "name": "stashapp-api",
  "version": "1.0.1",
  "description": "Easy to use adapter for interaction with a Stash server through GraphQL.",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "scripts": {
    "generate": "dotenv -- bash -c 'genql --endpoint $STASH_ENDPOINT/graphql -H \"ApiKey:$STASH_API_KEY\" --output ./src/generated -S Time:string -S Timestamp:string -S Int64:string -S Any:any \"-S Map:Record<string, unknown>\" \"-S BoolMap:Record<string, boolean>\" \"-S PluginConfigMap:Record<string, unknown>\" -S Upload:File --sort' && node fix-imports.js",
    "build": "npm run generate && tsc",
    "update-schema": "node update-schema.js",
    "schema:snapshot": "npm run update-schema",
    "refresh": "npm run schema:snapshot && npm run build",
    "version:patch": "npm version patch",
    "version:minor": "npm version minor",
    "version:major": "npm version major",
    "prepublishOnly": "npm run refresh",
    "publish:patch": "npm run version:patch && npm install && npm publish",
    "publish:minor": "npm run version:minor && npm install && npm publish",
    "publish:major": "npm run version:major && npm install && npm publish"
  },
  "files": [
    "dist"
  ],
  "keywords": [
    "stash",
    "graphql",
    "typescript",
    "api",
    "codegen"
  ],
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "@genql/cli": "^6.3.3",
    "@types/node": "^24.3.0",
    "dotenv-cli": "^10.0.0",
    "prettier": "^3.4.2",
    "typescript": "^5.9.2"
  },
  "dependencies": {
    "@genql/runtime": "^2.10.0"
  }
}
