@elevenlabs/react-native
Version:
ElevenLabs React Native SDK for Conversational AI
64 lines • 2.18 kB
JSON
{
"name": "@elevenlabs/react-native",
"version": "0.2.1",
"description": "ElevenLabs React Native SDK for Conversational AI",
"main": "./dist/lib.js",
"module": "./dist/lib.module.js",
"source": "src/index.ts",
"unpkg": "./dist/lib.umd.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/lib.modern.js",
"require": "./dist/lib.js"
}
},
"keywords": [
"elevenlabs",
"react-native",
"conversational-ai",
"webrtc",
"voice",
"ai"
],
"author": "ElevenLabs",
"license": "MIT",
"peerDependencies": {
"@livekit/react-native": "^2.7.0",
"@livekit/react-native-webrtc": "^125.0.0",
"livekit-client": "^2.11.0",
"react": ">=17.0.0",
"react-native": ">=0.70.0"
},
"devDependencies": {
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^13.2.0",
"@types/jest": "^29.5.12",
"@types/react": "^19.0.0",
"@types/react-native": "^0.73.0",
"eslint": "^9.8.0",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"react-test-renderer": "19.0.0",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elevenlabs/packages.git",
"directory": "packages/react-native"
},
"scripts": {
"generate-version": "printf \"// This file is auto-generated during build\\nexport const PACKAGE_VERSION = \\\"%s\\\";\\n\" \"$npm_package_version\" > src/version.ts",
"prebuild": "npm run generate-version",
"build": "BROWSERSLIST_ENV=modern microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react src/index.ts",
"clean": "rm -rf ./dist",
"dev": "npm run clean && npm run generate-version && BROWSERSLIST_ENV=modern microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react src/index.ts -w --no-compress",
"lint": "npm run lint:ts && npm run lint:es && npm run lint:prettier",
"lint:ts": "tsc --noEmit --skipLibCheck",
"lint:es": "npx eslint .",
"lint:prettier": "prettier 'src/**/*.ts' --check",
"test": "jest"
}
}