UNPKG

@tryloop/oats

Version:

🌾 OATS - OpenAPI TypeScript Sync. The missing link between your OpenAPI specs and TypeScript applications. Automatically watch, generate, and sync TypeScript clients from your API definitions.

142 lines (141 loc) • 4.52 kB
{ "name": "@tryloop/oats", "version": "2.2.45", "description": "🌾 OATS - OpenAPI TypeScript Sync. The missing link between your OpenAPI specs and TypeScript applications. Automatically watch, generate, and sync TypeScript clients from your API definitions.", "keywords": [ "oats", "oatsjs", "openapi", "swagger", "typescript", "api", "client", "generator", "sync", "watch", "microservices", "development", "orchestrator", "monorepo", "developer-tools", "dx", "automation", "tsoa", "openapi-typescript", "api-codegen", "type-generation" ], "author": "Hari Shekhar", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "bin": { "oats": "./bin/oats" }, "files": [ "bin/", "dist/", "schema/", "README.md", "LICENSE", "CHANGELOG.md" ], "scripts": { "clean": "rimraf dist coverage", "build": "yarn clean && tsc && yarn postbuild", "postbuild": "node scripts/make-executable.js", "build:watch": "tsc --watch", "dev": "tsx watch src/bin/oats.ts", "test": "jest --coverage", "test:watch": "jest --watch", "lint": "eslint src/ --ext .ts,.tsx", "lint:fix": "yarn lint -- --fix", "format": "prettier --write \"src/**/*.{ts,tsx,js,json}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx,js,json}\"", "typecheck": "tsc --noEmit", "prepare": "husky && yarn build", "prepublishOnly": "yarn lint && yarn build", "publish:auto": "node scripts/publish.js", "release": "yarn publish:auto", "release:patch": "npm version patch && npm publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish", "release:beta": "npm version prerelease --preid=beta && npm publish --tag beta", "release:alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha", "release:canary": "npm version prerelease --preid=canary && npm publish --tag canary", "release:next": "npm version prerelease --preid=next && npm publish --tag next", "publish:dry": "npm publish --dry-run", "publish:beta": "npm publish --tag beta", "publish:alpha": "npm publish --tag alpha", "publish:canary": "npm publish --tag canary", "publish:next": "npm publish --tag next", "version:update": "node scripts/update-version.js", "version:beta": "npm version prerelease --preid=beta", "version:alpha": "npm version prerelease --preid=alpha", "pack:local": "npm pack", "npm:info": "npm info @tryloop/oats", "npm:versions": "npm view @tryloop/oats versions --json", "npm:tags": "npm view @tryloop/oats dist-tags", "link:local": "./scripts/local-dev.sh", "lu": "./scripts/local-dev.sh" }, "dependencies": { "@inquirer/prompts": "^5.0.0", "chalk": "^5.3.0", "chokidar": "^4.0.0", "commander": "^12.0.0", "detect-port": "^1.5.1", "esbuild": "^0.24.2", "execa": "^8.0.1", "find-up": "^7.0.0", "glob": "^10.3.0", "joi": "^17.12.0", "lodash.debounce": "^4.0.8", "node-notifier": "^10.0.1", "ora": "^8.2.0" }, "devDependencies": { "@types/detect-port": "^2.0.0", "@types/jest": "^29.5.0", "@types/lodash.debounce": "^4.0.9", "@types/node": "^20.11.0", "@types/node-notifier": "^8.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^27.6.0", "eslint-plugin-prettier": "^5.1.0", "husky": "^9.1.7", "jest": "^29.7.0", "prettier": "^3.2.5", "rimraf": "^5.0.5", "ts-jest": "^29.1.0", "ts-node": "^10.9.0", "tsx": "^4.7.0", "typescript": "5.3.3" }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "https://github.com/loopkitchen/oats.git" }, "bugs": { "url": "https://github.com/loopkitchen/oats/issues" }, "homepage": "https://github.com/loopkitchen/oats#readme", "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", "publishConfig": { "access": "public" }, "resolutions": { "signal-exit": "^4.1.0", "onetime": "^6.0.0", "write-file-atomic": "^5.0.1" } }