{
  "name": "@stable-canvas/sd-webui-a1111-client",
  "version": "1.2.1",
  "description": "API client for AUTOMATIC1111/stable-diffusion-webui for Node.js and Browser.",
  "source": "src/main.ts",
  "main": "dist/main.umd.js",
  "module": "dist/main.module.mjs",
  "unpkg": "dist/main.umd.js",
  "types": "./dist/main.d.ts",
  "exports": {
    "types": "./dist/main.d.ts",
    "require": "./dist/main.js",
    "default": "./dist/main.modern.mjs"
  },
  "keywords": [
    "stable diffusion",
    "webui",
    "diffusion",
    "ai",
    "ai art",
    "api",
    "a1111",
    "a1111-stable-diffusion-webui",
    "stable-diffusion-webui"
  ],
  "files": [
    "dist/**.js*",
    "dist/**.mjs*",
    "dist/**/*.ts"
  ],
  "license": "Apache-2.0",
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/StableCanvas/sd-webui-a1111-client.git"
  },
  "author": "zhzluke96",
  "bugs": {
    "url": "https://github.com/StableCanvas/sd-webui-a1111-client/issues"
  },
  "homepage": "https://github.com/StableCanvas/sd-webui-a1111-client#readme",
  "devDependencies": {
    "@types/node": "^20.4.2",
    "microbundle": "^0.15.1",
    "openapi-typescript-codegen": "^0.25.0",
    "rollup": "^2.79.1",
    "rollup-plugin-dts": "^5.3.0",
    "ts-node": "^10.9.1",
    "tslib": "^2.6.0",
    "typedoc": "^0.25.13",
    "typescript": "^5.1.6",
    "url-pattern": "^1.0.3",
    "eventemitter3": "^5.0.1"
  },
  "scripts": {
    "build-dts": "rollup -c rollup.dts.config.js",
    "build-js": "microbundle --define process.env.NODE_ENV=production,PKG_VERSION=$npm_package_version",
    "build": "pnpm generate-client && pnpm build-js && pnpm build-dts",
    "watch": "microbundle watch --define process.env.NODE_ENV=development,PKG_VERSION=$npm_package_version --compress false",
    "dev": "pnpm watch",
    "start": "pnpm build",
    "preprocess-openapi": "node ./scripts/preprocess-openapi.js",
    "generate-openapi": "openapi --input ./openapi-cleaned.json --output ./src/client --name SDWebUIA1111Client --useOptions --useUnionTypes ",
    "generate-client": "pnpm preprocess-openapi && pnpm generate-openapi",
    "gen": "pnpm generate-client",
    "test": "jest",
    "build:docs": "typedoc --skipErrorChecking"
  }
}