UNPKG

drizzle-zod

Version:

Generate Zod schemas from Drizzle ORM schemas

84 lines (83 loc) 1.67 kB
{ "name": "drizzle-zod", "version": "0.8.3", "description": "Generate Zod schemas from Drizzle ORM schemas", "type": "module", "scripts": { "build": "tsx scripts/build.ts", "b": "pnpm build", "test:types": "cd tests && tsc", "pack": "(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz", "publish": "npm publish package.tgz", "test": "vitest run" }, "exports": { ".": { "import": { "types": "./index.d.mts", "default": "./index.mjs" }, "require": { "types": "./index.d.cjs", "default": "./index.cjs" }, "types": "./index.d.ts", "default": "./index.mjs" } }, "main": "./index.cjs", "module": "./index.mjs", "types": "./index.d.ts", "publishConfig": { "provenance": true }, "repository": { "type": "git", "url": "git+https://github.com/drizzle-team/drizzle-orm.git" }, "ava": { "files": [ "tests/**/*.test.ts", "!tests/bun/**/*" ], "extensions": { "ts": "module" } }, "keywords": [ "zod", "validate", "validation", "schema", "drizzle", "orm", "pg", "mysql", "postgresql", "postgres", "sqlite", "database", "sql", "typescript", "ts" ], "author": "Drizzle Team", "license": "Apache-2.0", "peerDependencies": { "drizzle-orm": ">=0.36.0", "zod": "^3.25.0 || ^4.0.0" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.0", "@types/node": "^18.15.10", "cpy": "^10.1.0", "drizzle-orm": "link:../drizzle-orm/dist", "json-rules-engine": "^7.3.1", "rimraf": "^5.0.0", "rollup": "^3.29.5", "vite-tsconfig-paths": "^4.3.2", "vitest": "^3.1.3", "zod": "3.25.1", "zx": "^7.2.2" } }