UNPKG

primvoices-react

Version:
78 lines (77 loc) 1.96 kB
{ "name": "primvoices-react", "version": "0.2.1", "description": "React client for the PrimVoices Agents API", "type": "module", "main": "./dist/index.umd.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.umd.js", "types": "./dist/index.d.ts" } }, "scripts": { "build": "tsc && vite build", "dev": "vite build --watch", "lint": "eslint 'src/**/*.{ts,tsx}'", "test": "jest", "prepare": "npm run build", "examples": "vite --config vite.examples.config.ts", "build:examples": "vite build --config vite.examples.config.ts", "typecheck": "tsc --noEmit" }, "keywords": [ "primvoices", "audio", "speech", "websocket", "react", "voice", "conversation" ], "author": "PrimVoices Team", "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { "alawmulaw": "^6.0.0", "glob": "^11.0.1", "uuid": "^9.0.0" }, "devDependencies": { "@types/jest": "^29.5.3", "@types/node": "^20.4.5", "@types/react": "^18.2.17", "@types/react-dom": "^18.2.7", "@types/uuid": "^9.0.2", "@typescript-eslint/eslint-plugin": "^6.2.0", "@typescript-eslint/parser": "^6.2.0", "@vitejs/plugin-react": "^4.0.4", "@vitejs/plugin-react-swc": "^3.8.0", "eslint": "^8.46.0", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^29.6.2", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.1", "typescript": "^5.1.6", "vite": "^4.4.9", "vite-plugin-dts": "^3.6.0" }, "repository": { "type": "git", "url": "https://github.com/PrimLabsAI/primvoices-react" }, "engines": { "node": ">=14" } }