{
"name": "postgrest-parser",
"version": "0.1.1",
"description": "PostgREST URL-to-SQL parser with WASM bindings for TypeScript/JavaScript",
"main": "pkg/postgrest_parser.js",
"types": "postgrest_parser.d.ts",
"type": "module",
"scripts": {
"build": "wasm-pack build --target web --out-dir pkg -- --features wasm && bash scripts/post-build.sh",
"test:wasm": "wasm-pack test --headless --firefox -- --features wasm",
"test:e2e": "npm run build && cd pkg && npm pack --pack-destination ../e2e && cd ../e2e && npm install ./postgrest-parser-*.tgz && node test.mjs && rm -f postgrest-parser-*.tgz",
"test:e2e:npm": "cd e2e && npm install postgrest-parser@latest && node test.mjs",
"example": "tsx example.ts"
},
"keywords": [
"postgrest",
"sql",
"parser",
"postgresql",
"wasm",
"typescript",
"query-builder"
],
"author": "Your Name",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-org/postgrest-parser-rust"
},
"devDependencies": {
"@types/node": "^20.0.0",
"tsx": "^4.0.0"
},
"files": [
"pkg/**/*",
"postgrest_parser.d.ts",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
}
}