UNPKG

openapi-alchemist

Version:

Transform OpenAPI 3 to Swagger 2 with alchemical precision

85 lines (84 loc) 2.14 kB
{ "name": "openapi-alchemist", "version": "1.0.1", "engines": { "node": ">=22.0.0" }, "description": "Transform OpenAPI 3 to Swagger 2 with alchemical precision", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "npm run build && node --test dist/test/**/*.js", "dev": "tsc --watch", "clean": "rm -rf dist", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "format:check": "prettier --check src/**/*.ts", "check": "npm run lint && npm run format:check && npm run build", "prepare": "husky", "prepublishOnly": "npm run build", "preversion": "npm test", "version": "npm run format && git add -A", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "https://github.com/Kill-B/api-spec-converter.git" }, "keywords": [ "openapi", "swagger", "oas3", "oas2", "openapi-3", "openapi-2", "api", "transform", "convert", "transformer", "alchemist", "typescript" ], "license": "MIT", "bugs": { "url": "https://github.com/Kill-B/api-spec-converter/issues" }, "homepage": "https://github.com/Kill-B/api-spec-converter", "note": "TypeScript fork of https://github.com/LucyBot-Inc/api-spec-converter", "files": [ "dist/**/*.js", "dist/**/*.d.ts", "!dist/test/**", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "dependencies": { "js-yaml": "^4.1.0" }, "devDependencies": { "@eslint/js": "^9.38.0", "@types/js-yaml": "^3.12.0", "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^8.46.2", "@typescript-eslint/parser": "^8.46.2", "eslint": "^9.38.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "globals": "^16.4.0", "husky": "^9.1.7", "lint-staged": "^16.2.6", "prettier": "^3.6.2", "typescript": "^5.0.0" }, "lint-staged": { "src/**/*.ts": [ "eslint --fix", "prettier --write" ] } }