UNPKG

@namcaodev/postman-codegen

Version:

Auto generate all file typescript, query options, mutation options of tanstack query from postman json

84 lines (83 loc) 2.35 kB
{ "name": "@namcaodev/postman-codegen", "author": "Nam Cao Dev", "version": "2.3.2", "license": "MIT", "homepage": "https://github.com/NamCaoDev/postman-codegen.git#readme", "description": "Auto generate all file typescript, query options, mutation options of tanstack query from postman json", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "index.ts", "dist", "README.md" ], "bin": { "postman-codegen": "bin/codegen.js" }, "publishConfig": { "access": "public" }, "private": false, "keywords": [ "codegen", "tanstack-query-generate", "postman-json", "auto-generate-type", "plop", "quicktype", "typescript", "postman" ], "repository": { "url": "git+https://github.com/NamCaoDev/postman-codegen.git", "type": "git" }, "bugs": { "url": "https://github.com/NamCaoDev/postman-codegen.git/issues" }, "scripts": { "build": "tsc && cp -r plop-templates dist/", "prepare": "npm run build", "codegen-ts": "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=index.ts generate-queries", "codegen": "npx plop --plopfile=dist/index.js generate-queries", "postinstall": "husky install", "changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s" }, "config": { "conventional-changelog": { "preset": "angular" } }, "dependencies": { "@turbo/gen": "^2.4.4", "cross-env": "^7.0.3", "fast-glob": "^3.3.3", "fs-extra": "^11.3.0", "lodash": "^4.17.21", "p-limit": "^6.2.0", "plop": "^4.0.1", "query-string": "^9.1.1", "quicktype-core": "^23.0.171", "ts-to-zod": "^3.15.0", "tsx": "^4.19.3" }, "devDependencies": { "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@types/lodash": "^4.17.16", "@types/node": "^22.13.10", "commitlint": "^19.8.0", "conventional-changelog-cli": "^5.0.0", "husky": "^9.1.7", "node-plop": "^0.32.0", "semantic-release": "^24.2.3", "typescript": "~5.8.2" } }