UNPKG

@convex-dev/geospatial

Version:
110 lines (109 loc) 3.67 kB
{ "name": "@convex-dev/geospatial", "description": "A geospatial index for Convex", "repository": "github:get-convex/geospatial", "homepage": "https://github.com/get-convex/geospatial#readme", "bugs": { "email": "support@convex.dev", "url": "https://github.com/get-convex/geospatial/issues" }, "version": "0.2.1", "license": "Apache-2.0", "keywords": [ "convex", "component", "geospatial", "geo", "geojs", "geography", "geometry", "s2" ], "type": "module", "scripts": { "dev": "run-p -r 'dev:*'", "dev:backend": "convex dev --typecheck-components", "dev:frontend": "cd example && vite --clearScreen false", "dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'convex codegen --component-dir ./src/component && npm run build' --initial", "predev": "npm run dev:backend -- --until-success", "clean": "rm -rf dist *.tsbuildinfo", "build": "tsc --project ./tsconfig.build.json", "build:go": "cd src/s2-bindings && python build.py", "typecheck": "tsc --noEmit && tsc -p example && tsc -p example/convex", "lint": "eslint .", "all": "run-p -r 'dev:*' 'test:watch'", "test": "vitest run --typecheck", "test:watch": "vitest --typecheck --clearScreen false", "test:debug": "vitest --inspect-brk --no-file-parallelism", "test:coverage": "vitest run --coverage --coverage.reporter=text", "prepare": "npm run build", "alpha": "npm run clean && npm ci && run-p test lint typecheck && npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags", "release": "npm run clean && npm ci && run-p test lint typecheck && npm version patch && npm publish && git push --tags", "version": "pbcopy <<<$npm_package_version; vim CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md" }, "files": [ "dist", "src" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/client/index.d.ts", "default": "./dist/client/index.js" }, "./test": "./src/test.ts", "./_generated/component.js": { "types": "./dist/component/_generated/component.d.ts" }, "./convex.config": { "types": "./dist/component/convex.config.d.ts", "default": "./dist/component/convex.config.js" }, "./convex.config.js": { "types": "./dist/component/convex.config.d.ts", "default": "./dist/component/convex.config.js" } }, "dependencies": { "async-channel": "^0.2.0", "heap-js": "^2.5.0" }, "peerDependencies": { "convex": "^1.24.8" }, "devDependencies": { "@edge-runtime/vm": "4.0.4", "@eslint/js": "^9.9.1", "@fast-check/vitest": "^0.2.2", "@types/d3-array": "^3.2.2", "@types/leaflet": "^1.9.21", "@types/node": "20.19.24", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", "@typescript-eslint/eslint-plugin": "^8.46.2", "@typescript-eslint/parser": "^8.46.2", "@vitejs/plugin-react": "^5.1.0", "antd": "^5.27.6", "chokidar-cli": "3.0.0", "convex": "1.29.0", "convex-test": "0.0.38", "d3-array": "^3.2.4", "eslint": "^8.57.1", "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.4.24", "globals": "^15.9.0", "h3-js": "^4.3.0", "leaflet": "^1.9.4", "npm-run-all2": "8.0.4", "prettier": "3.2.5", "react": "^18.3.1", "react-dom": "^18.3.1", "react-leaflet": "^4.2.1", "typescript": "^5.9.3", "typescript-eslint": "^8.46.2", "vite": "^6.4.1", "vitest": "^3.2.4" }, "types": "./dist/client/index.d.ts", "module": "./dist/client/index.js" }