agnostic-query
Version:
Type-safe fluent builder for portable query schemas. Runtime-agnostic, database-agnostic — the same QuerySchema drives Drizzle, Kysely, db0, or raw SQL.
102 lines (101 loc) • 2.32 kB
JSON
{
"name": "agnostic-query",
"description": "Type-safe fluent builder for portable query schemas. Runtime-agnostic, database-agnostic — the same QuerySchema drives Drizzle, Kysely, db0, or raw SQL.",
"version": "1.10.5",
"keywords": [
"query",
"query-builder",
"type-safe",
"database-agnostic",
"runtime-agnostic",
"drizzle",
"kysely",
"postgresql",
"sql",
"schema",
"typescript",
"tanstack-intent"
],
"license": "MIT",
"type": "module",
"files": [
"dist",
"README.md",
"LICENSE",
"package.json",
"skills"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./": {
"import": "./dist/",
"types": "./dist/"
}
},
"scripts": {
"build": "rolldown -c rolldown.config.ts --clean-dir && tsgo -p tsconfig.build.json && find dist -name '*.d.ts' -exec perl -0pi -e \"s/\\.ts(['\\\"])/.js\\$1/g\" {} +",
"typecheck": "tsgo --noEmit",
"test": "bun test",
"type-test": "tsd",
"prepublishOnly": "bun run build && cp ../../README.md . && cp ../../LICENSE ."
},
"peerDependencies": {
"zod": "^4.0.0",
"valibot": "^1.4.0",
"drizzle-orm": "*",
"@tanstack/db": "*",
"kysely": "*"
},
"peerDependenciesMeta": {
"zod": {
"optional": true
},
"valibot": {
"optional": true
},
"drizzle-orm": {
"optional": true
},
"@tanstack/db": {
"optional": true
},
"kysely": {
"optional": true
}
},
"publishConfig": {
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./": {
"import": "./dist/",
"types": "./dist/"
}
}
},
"devDependencies": {
"@electric-sql/pglite": "^0.4.5",
"@tanstack/db": "^0.6.5",
"@tanstack/intent": "^0.0.41",
"drizzle-orm": "^0.45.2",
"kysely": "^0.29.0",
"rolldown": "^1.0.0",
"tsd": "^0.33.0",
"valibot": "^1.4.0",
"zod": "^4.4.3"
},
"repository": {
"type": "git",
"url": "https://github.com/Nahida-aa/agnostic-query.git"
}
}