UNPKG

drizzle-zero

Version:

Generate Zero schemas from Drizzle ORM schemas

115 lines 2.96 kB
{ "name": "drizzle-zero", "version": "0.12.0", "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": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./node-postgres": { "types": "./dist/node-postgres/index.d.ts", "import": "./dist/node-postgres/index.js", "require": "./dist/node-postgres/index.cjs" }, "./postgres-js": { "types": "./dist/postgres-js/index.d.ts", "import": "./dist/postgres-js/index.js", "require": "./dist/postgres-js/index.cjs" }, "./package.json": "./package.json" }, "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", "@types/pg": "", "drizzle-orm": ">=0.36.0", "pg": "", "postgres": "", "prettier": ">=3.0.0" }, "peerDependenciesMeta": { "pg": { "optional": true }, "prettier": { "optional": true }, "@types/pg": { "optional": true }, "postgres": { "optional": true } }, "dependencies": { "commander": "^14.0.0", "jsonc-parser": "^3.3.1", "ts-morph": "^26.0.0" }, "devDependencies": { "@rocicorp/zero": "^0.21.2025063000", "@testcontainers/postgresql": "^11.0.3", "@ts-morph/common": "^0.27.0", "@types/node": "^24.0.10", "@types/pg": "^8.15.4", "@vitest/coverage-v8": "3.2.4", "@vitest/ui": "^3.2.4", "drizzle-kit": "^0.31.4", "drizzle-orm": "^0.44.2", "pg": "^8.16.3", "postgres": "^3.4.7", "prettier": "^3.6.2", "testcontainers": "^11.0.3", "tsup": "^8.5.0", "tsx": "^4.20.3", "typescript": "^5.8.3", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.4" }, "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" } }