UNPKG

groq-builder

Version:

A **schema-aware**, strongly-typed GROQ query builder. It enables you to build GROQ queries using **auto-completion**, **type-checking**, and **runtime validation**.

66 lines 1.4 kB
{ "name": "groq-builder", "version": "0.10.0", "license": "MIT", "author": { "name": "Formidable", "url": "https://formidable.com" }, "repository": { "type": "git", "url": "https://github.com/FormidableLabs/groqd" }, "homepage": "https://github.com/formidablelabs/groqd", "keywords": [ "sanity", "groq", "query", "typescript" ], "main": "./dist/index.js", "sideEffects": [ "./dist/commands/**", "./dist/groq-builder" ], "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": [ { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./dist/index.js" ], "./package.json": "./package.json" }, "files": [ "dist" ], "dependencies": { "type-fest": "^4.10.1", "zod": "^3.22.4" }, "devDependencies": { "@sanity/client": "^6.24.1", "groq-js": "^1.1.9", "rimraf": "^5.0.5", "typescript": "^5.7.2", "vitest": "^1.6.0" }, "engines": { "node": ">= 14" }, "publishConfig": { "provenance": true }, "scripts": { "checks": "pnpm run lint && pnpm run typecheck && pnpm run test", "lint": "eslint src --quiet", "test:watch": "vitest", "test": "vitest run", "typecheck": "tsc --noEmit", "clean": "rimraf dist", "build": "pnpm run clean && tsc --project tsconfig.build.json" } }