UNPKG

@techery/zod-to-vertex-schema

Version:

Convert Zod schemas to Vertex AI/Gemini compatible schemas

66 lines (65 loc) 1.69 kB
{ "name": "@techery/zod-to-vertex-schema", "version": "0.1.4", "description": "Convert Zod schemas to Vertex AI/Gemini compatible schemas", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "test": "jest", "prepublishOnly": "npm test && npm run build", "clean": "rm -rf dist", "prebuild": "npm run clean", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "format": "prettier --write \"src/**/*.ts\"", "format:check": "prettier --check \"src/**/*.ts\"", "prepare": "npm run build", "check": "npm run format:check && npm run lint && npm run test" }, "keywords": [ "zod", "vertex-ai", "gemini", "schema", "typescript" ], "author": "Serge Zenchenko", "license": "MIT", "devDependencies": { "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", "@types/node": "^22.10.5", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "typescript": "^5.7.3" }, "dependencies": { "zod": "^3.*" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/techery/zod-to-vertex-schema.git" }, "engines": { "node": ">=16" }, "bugs": { "url": "https://github.com/techery/zod-to-vertex-schema/issues" }, "homepage": "https://github.com/techery/zod-to-vertex-schema#readme" }