halo/ui/packages/api-client/package.json

57 lines
1.4 KiB
JSON

{
"name": "@halo-dev/api-client",
"version": "2.21.1",
"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": {
".": "./dist/index.mjs",
"./package.json": "./package.json"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/entry/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsdown",
"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'",
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"qs": "^6.13.0"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.13.4",
"@types/qs": "^6.9.15",
"rimraf": "^5.0.7"
},
"peerDependencies": {
"axios": "^1.7.x"
}
}