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

62 lines
1.5 KiB
JSON
Raw Normal View History

{
"name": "@halo-dev/api-client",
"version": "2.20.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",
"@types/qs": "^6.9.15",
"rimraf": "^5.0.7",
"typescript": "~5.5.4",
"unbuild": "^0.7.6",
"vite-plugin-dts": "^4.0.3"
},
"peerDependencies": {
"axios": "^1.7.x"
},
"dependencies": {
"qs": "^6.13.0"
}
}