apiyaml
Version:
54 lines (53 loc) • 1.71 kB
JSON
{
"name": "apiyaml",
"version": "1.6.0",
"description": "api generator",
"main": "esbuild_out/index.js",
"scripts": {
"dev": "npx tsx internal/index.ts",
"build": "rm -fr esbuild_out/ && npm run version:update && npx esbuild --bundle src/index.ts --outdir=esbuild_out --platform=node --minify && npm run cpScripts && npm run readme:update",
"cpScripts": "cp -r src/commands/make_docs/scripts esbuild_out/",
"start": "node esbuild_out/index.js",
"readme:update": "export HELP_INFO_GEN=true && npx tsx scripts/readme_update.ts",
"version:update": "npx tsx scripts/version_update.ts",
"release:local": "npm run build && rm -f `dirname $(which node)`/apiyaml && npm i -g && chmod +x `dirname $(which node)`/apiyaml",
"release": "npm run build && npm publish",
"test": "echo \"Error: no test specifiedn\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ClassFunc/api-generator.git"
},
"private": false,
"dependencies": {
"@asteasolutions/zod-to-openapi": "^7.2.0",
"@n8n/json-schema-to-zod": "^1.1.0",
"chalk": "^4.1.2",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"json-schema-to-zod": "^2.6.0",
"lodash": "^4.17.21",
"yaml": "^2.6.0",
"zod": "^3.23.8"
},
"bin": {
"apiyaml": "esbuild_out/index.js"
},
"keywords": [
"api-generator",
"yaml",
"yaml-to-api"
],
"license": "MIT",
"devDependencies": {
"@types/lodash": "^4.17.13",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"firebase": "^11.0.2",
"jotai": "^2.10.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sonner": "^1.7.0",
"typescript": "^5.6.3"
}
}