{ "name": "@halo-dev/api-client", "version": "2.19.0", "description": "API Client for Halo 2", "homepage": "https://github.com/halo-dev/halo/tree/main/ui/packages/api-client#readme", "bugs": { "url": "https://github.com/halo-dev/halo/issues" }, "repository": { "type": "git", "url": "https://github.com/halo-dev/halo.git", "directory": "ui/packages/api-client" }, "license": "GPL-3.0", "author": "@halo-dev", "contributors": [ { "name": "Ryan Wang", "url": "https://github.com/ruibaby" } ], "exports": { ".": { "types": "./dist/entry/index.d.ts", "import": "./dist/halo-api-client.es.js" } }, "main": "./dist/halo-api-client.iife.js", "module": "./dist/halo-api-client.es.js", "types": "./dist/entry/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/entry/index.d.ts" ] } }, "files": [ "dist" ], "scripts": { "build": "vite build", "gen": "rimraf --glob './src/**' && openapi-generator-cli generate -i ../../../api-docs/openapi/v3_0/aggregated.json -g typescript-axios -c ./.openapi_config.yaml -o ./src --type-mappings='set=Array'" }, "devDependencies": { "@openapitools/openapi-generator-cli": "^2.13.4", "@types/node": "^20.14.2", "rimraf": "^5.0.7", "typescript": "^5.4.5", "unbuild": "^0.7.6", "vite-plugin-dts": "^3.9.1" }, "peerDependencies": { "axios": "^1.7.x" } }