UNPKG

drizzle-zero

Version:

Generate Zero schemas from Drizzle ORM schemas

85 lines 2.15 kB
{ "name": "drizzle-zero", "version": "0.10.8", "description": "Generate Zero schemas from Drizzle ORM schemas", "type": "module", "bin": { "drizzle-zero": "./dist/cli/index.js" }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist/", "README.md", "LICENSE" ], "repository": { "type": "git", "url": "git+https://github.com/0xcadams/drizzle-zero.git" }, "keywords": [ "zero", "sync", "local-first", "schema", "drizzle", "orm", "pg", "postgresql", "postgres", "database", "typescript", "ts" ], "author": "0xcadams", "license": "Unlicense", "homepage": "https://github.com/0xcadams/drizzle-zero", "bugs": { "url": "https://github.com/0xcadams/drizzle-zero/issues" }, "peerDependencies": { "@rocicorp/zero": ">=0.13.2025013101", "drizzle-orm": ">=0.36.0", "prettier": ">=3.0.0" }, "peerDependenciesMeta": { "prettier": { "optional": true } }, "dependencies": { "commander": "^14.0.0", "ts-morph": "^26.0.0" }, "devDependencies": { "@rocicorp/zero": "^0.20.2025052100", "@ts-morph/common": "^0.27.0", "@types/node": "^22.15.24", "@vitest/coverage-v8": "3.2.3", "@vitest/ui": "^3.2.3", "drizzle-kit": "^0.31.1", "drizzle-orm": "^0.44.2", "prettier": "^3.5.3", "tsup": "^8.5.0", "tsx": "^4.19.4", "typescript": "^5.8.3", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.3" }, "scripts": { "dev:cli": "tsx --watch cli/src/index.ts -c cli/test/drizzle-zero.config.ts -o cli/test/zero-schema.gen.ts", "clean": "rm -rf dist node_modules coverage && cd integration && rm -rf node_modules && cd ../no-config-integration && rm -rf node_modules", "build": "rm -rf dist && tsx build.ts && chmod +x dist/cli/index.js", "release": "pnpm run build && pnpm publish", "test": "vitest run --typecheck --coverage", "test:types": "tsc --noEmit", "test:ui": "vitest --ui" } }