UNPKG

@jungle-commerce/typesense-react

Version:

React hooks and components for building search interfaces with Typesense

96 lines (95 loc) 3.19 kB
{ "name": "@jungle-commerce/typesense-react", "version": "2.0.3", "description": "React hooks and components for building search interfaces with Typesense", "keywords": [ "typesense", "react", "ui", "typesense-react", "react-typesense", "search", "hooks", "typescript", "search-ui", "faceted-search", "instant-search" ], "homepage": "https://github.com/jungle-commerce/typesense-react#readme", "bugs": { "url": "https://github.com/jungle-commerce/typesense-react/issues" }, "repository": { "type": "git", "url": "git+https://github.com/jungle-commerce/typesense-react.git" }, "license": "MIT", "author": "Jungle Commerce", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist", "CHANGELOG.md", "README.md", "LICENSE" ], "scripts": { "dev": "vite build --watch", "build": "vite build && tsc --emitDeclarationOnly", "test": "./scripts/test-all.sh", "test:unit": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest --coverage", "test:integration": "vitest --config vitest.config.integration.ts", "test:integration:ui": "vitest --config vitest.config.integration.ts --ui", "test:integration:coverage": "vitest --config vitest.config.integration.ts --coverage", "test:integration:watch": "vitest --config vitest.config.integration.ts --watch", "test:integration:docker": "./scripts/test-integration.sh", "test:all": "npm run test && npm run test:integration", "test:all:coverage": "npm run test:coverage && npm run test:integration:coverage", "test:ci": "npm run lint && npm run test:all:coverage", "lint": "eslint src --ext .ts,.tsx", "clean": "rm -rf dist coverage test-results", "docker:up": "docker-compose up -d", "docker:down": "docker-compose down", "docker:test:up": "docker-compose -f docker-compose.test.yml up -d", "docker:test:down": "docker-compose -f docker-compose.test.yml down -v", "seed": "npm run build && node scripts/seed-data.js", "seed:reset": "npm run build && node scripts/seed-data.js --reset" }, "dependencies": { "typesense": "^1.7.2" }, "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@faker-js/faker": "^9.8.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.3.0", "@vitest/coverage-v8": "^3.2.4", "@vitest/runner": "^3.2.4", "@vitest/ui": "^3.2.4", "jsdom": "^26.1.0", "react": "^19.1.0", "react-dom": "^19.1.0", "vite": "^5.3.0", "vite-plugin-dts": "^4.5.4", "vitest": "^3.2.4" }, "packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac" }