openapi-axios
Version:
OpenAPI(2.0/3.0/3.1) Schema → Type-safe Axios
80 lines (79 loc) • 2.05 kB
JSON
{
"name": "openapi-axios",
"type": "commonjs",
"version": "0.34.0",
"description": "OpenAPI(2.0/3.0/3.1) Schema → Type-safe Axios",
"author": "云淡然 <hi@ydr.me> (https://ydr.me)",
"license": "MIT",
"homepage": "https://github.com/FrontEndDev-org/openapi-axios",
"repository": "https://github.com/FrontEndDev-org/openapi-axios",
"keywords": [
"cloudcome",
"ydr.me",
"OpenAPI",
"swagger",
"TypeScript",
"OAS",
"axios"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"openapi-axios": "bin/index.cjs"
},
"files": [
"dist"
],
"engines": {
"node": ">=14.21"
},
"scripts": {
"prepare": "lefthook install",
"build": "NODE_ENV=production vite build",
"lint:js": "eslint",
"lint:js:fix": "eslint --fix",
"lint:type": " tsc --noEmit",
"lint": "npm run lint:js && npm run lint:type",
"lint:fix": "npm run lint:js:fix && npm run lint:type",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"maintainers": [
"阿森 <zhenxs2018@foxmail.com>"
],
"dependencies": {
"@redocly/openapi-core": "^1.30.0",
"chalk": "^4.1.2",
"commander": "^13.1.0",
"local-pkg": "^1.0.0",
"prettier": "^3.5.1",
"strict-event-emitter": "^0.5.1",
"try-flatten": "^1.3.2"
},
"devDependencies": {
"@antfu/eslint-config": "^4.3.0",
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@commitlint/types": "^19.5.0",
"@types/node": "20",
"@vitest/coverage-v8": "^3.0.6",
"eslint": "^9.20.1",
"lefthook": "^1.10.10",
"taze": "^18.6.0",
"typescript": "^5.7.3",
"vite": "^6.1.1",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-externalize-deps": "^0.9.0",
"vitest": "^3.0.6"
}
}