UNPKG

swaxios

Version:

Swagger API client generator based on axios and TypeScript.

104 lines (103 loc) 3.35 kB
{ "bin": { "swaxios": "dist/cli.js" }, "bugs": { "url": "https://github.com/welovecoding/swaxios/issues" }, "dependencies": { "@apidevtools/swagger-parser": "10.1.0", "axios": "1.6.8", "ci-info": "4.0.0", "cli-interact": "0.1.9", "commander": "12.0.0", "fs-extra": "11.2.0", "handlebars": "4.7.8", "openapi-types": "8.0.0", "prettier": "2.8.4", "yamljs": "0.3.0" }, "description": "Swagger API client generator based on axios and TypeScript.", "devDependencies": { "@tstv/tsconfig-common": "3.4.1", "@types/ci-info": "3.1.0", "@types/cli-interact": "0.1.4", "@types/fs-extra": "11.0.4", "@types/handlebars-helpers": "0.5.6", "@types/jasmine": "5.1.4", "@types/minimist": "1.2.5", "@types/node": "20.12.11", "@types/prettier": "2.7.3", "@types/yamljs": "0.2.34", "@wireapp/tslint-config": "1.4.1", "generate-changelog": "1.8.0", "husky": "4.3.8", "jasmine": "5.1.0", "lint-staged": "15.2.2", "nyc": "15.1.0", "shx": "0.3.4", "ts-node": "10.9.2", "tslint": "6.1.3", "tslint-config-prettier": "1.18.0", "tslint-plugin-prettier": "2.3.0", "tslint-react": "5.0.0", "tslint-react-hooks": "2.2.2", "typescript": "5.4.5" }, "files": [ "dist", "!dist/**/*.test.js" ], "homepage": "https://github.com/welovecoding/swaxios#readme", "keywords": [ "api", "api-client", "api-generator", "axios", "browser", "cli", "codegen", "generator", "javascript", "nodejs", "openapi", "rest", "swagger", "typescript" ], "license": "MIT", "main": "dist/index.js", "name": "swaxios", "peerDependencies": { "typescript": "*" }, "repository": { "type": "git", "url": "git+https://github.com/welovecoding/swaxios.git" }, "scripts": { "changelog:commit": "git add CHANGELOG.md && git commit -m \"docs: updated CHANGELOG.md\"", "changelog:create": "changelog -x \"chore,docs\"", "clean": "shx rm -rf ./dist", "copy": "shx mkdir -p ./dist/templates && shx cp -R ./src/templates/* ./dist/templates", "dist": "yarn clean && tsc && yarn copy", "fix": "yarn fix:other && yarn fix:ts", "fix:other": "yarn prettier --write", "fix:ts": "yarn lint:ts --fix", "lint": "yarn lint:other && yarn lint:ts", "lint:other": "yarn prettier --list-different", "lint:ts": "tslint --config tslint.json --project tsconfig.json \"**/*.ts?(x)\"", "lint:types": "tsc --noEmit", "postversion": "git push origin && git push origin --tags && npm publish", "prerelease": "git checkout main && git pull && yarn install && yarn test && yarn dist", "prettier": "prettier \"**/*.{json,md,yml}\"", "release:major": "yarn prerelease && yarn changelog:create -M && yarn changelog:commit && npm version major", "release:minor": "yarn prerelease && yarn changelog:create -m && yarn changelog:commit && npm version minor", "release:patch": "yarn prerelease && yarn changelog:create -p && yarn changelog:commit && npm version patch", "start": "ts-node src/cli.ts -i ./src/test/fixtures/wire-sso.json -o ./src/temp -f", "test": "yarn lint && yarn test:node", "test:node": "nyc jasmine --config=jasmine.json", "test:types": "yarn lint:types" }, "version": "0.2.5" }