@revrag-ai/embed-react-native
Version:
A powerful React Native library for integrating AI-powered voice agents into mobile applications. Features real-time voice communication, intelligent speech processing, customizable UI components, and comprehensive event handling for building conversation
246 lines (245 loc) • 7.22 kB
JSON
{
"name": "@revrag-ai/embed-react-native",
"version": "1.0.16",
"source": "./src/index.tsx",
"description": "A powerful React Native library for integrating AI-powered voice agents into mobile applications. Features real-time voice communication, intelligent speech processing, customizable UI components, and comprehensive event handling for building conversational AI experiences.",
"main": "./dist/commonjs/index.js",
"module": "./dist/module/index.js",
"types": "./dist/typescript/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/typescript/src/*"
]
}
},
"exports": {
".": {
"types": "./dist/typescript/src/index.d.ts",
"import": "./dist/module/index.js",
"require": "./dist/commonjs/index.js",
"default": "./dist/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"android/build.gradle",
"android/CMakeLists.txt",
"android/cpp-adapter.cpp",
"android/gradle.properties",
"android/generated",
"ios/*.h",
"ios/*.mm",
"ios/generated",
"cpp",
"*.podspec",
"react-native.config.js"
],
"scripts": {
"example": "yarn workspace embed-react-native-example",
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build dist",
"prepare": "bob build",
"build": "bob build",
"fix-js": "node fix-js-files.js",
"verify-setup": "node scripts/verify-setup.js",
"debug-network": "node scripts/debug-network.js",
"prepublishOnly": "bob build && yarn fix-js",
"release": "release-it --only-version",
"protect": "node -e \"const crypto = require('crypto'); const fs = require('fs'); const config = { hash: crypto.randomBytes(32).toString('hex'), createdAt: new Date().toISOString(), note: 'Protected build', version: require('./package.json').version }; fs.writeFileSync('.onwid-security.json', JSON.stringify(config, null, 2)); console.log('✅ Code protected');\"",
"publish:safe": "yarn clean && bob build && yarn fix-js && yarn protect && npm publish --access public",
"publish:beta": "yarn clean && bob build && yarn fix-js && yarn protect && npm publish --access public --tag beta",
"publish:alpha": "yarn clean && bob build && yarn fix-js && yarn protect && npm publish --access public --tag alpha",
"docs:check": "echo '📚 Documentation files:' && ls -la *.md && echo '✅ Documentation is up to date'",
"docs:validate": "echo '🔍 Validating documentation...' && node -e \"const fs = require('fs'); const files = ['README.md', 'API.md', 'EXAMPLES.md']; files.forEach(f => { if (!fs.existsSync(f)) throw new Error('Missing: ' + f); }); console.log('✅ All documentation files present');\""
},
"keywords": [
"react-native",
"ios",
"android",
"voice-agent",
"ai-voice",
"speech",
"voice-sdk",
"real-time-communication",
"voice-chat",
"ai-assistant",
"conversational-ai"
],
"repository": {
"type": "git",
"url": "git+https://github.com/orgs/RevRag-ai/dashboard.git"
},
"author": "RevragAi <contact@revrag.ai> (https://www.revrag.ai)",
"license": "MIT",
"bugs": {
"url": "https://github.com/orgs/RevRag-ai/dashboard/issues"
},
"homepage": "https://github.com/orgs/RevRag-ai/dashboard#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@livekit/react-native": "^2.7.4",
"@livekit/react-native-webrtc": "^125.0.9",
"@react-native-async-storage/async-storage": "^2.1.2",
"@react-native/babel-preset": "0.75.4",
"@react-native/eslint-config": "0.75.4",
"@react-native/metro-config": "0.75.4",
"@react-native/typescript-config": "0.75.4",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"lottie-react-native": "^7.2.2",
"prettier": "^3.0.3",
"react": "18.3.1",
"react-native": "0.75.4",
"react-native-builder-bob": "^0.30.2",
"react-native-gesture-handler": "^2.25.0",
"react-native-linear-gradient": "^2.8.3",
"react-native-reanimated": "^3.17.5",
"react-native-safe-area-context": "^4.12.0",
"release-it": "^15.0.0",
"typescript": "^5.2.2"
},
"resolutions": {
"@types/react": "^18.2.44"
},
"peerDependencies": {
"@livekit/react-native": "*",
"@livekit/react-native-webrtc": "*",
"@react-native-async-storage/async-storage": "*",
"events": "*",
"lottie-react-native": "*",
"react": "*",
"react-native": "*",
"react-native-gesture-handler": "*",
"react-native-linear-gradient": "*",
"react-native-reanimated": "*",
"react-native-safe-area-context": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.1",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/dist/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"react/react-in-jsx-scope": "off",
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"dist/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"codegen",
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNEmbedReactNativeSpec",
"type": "modules",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"android": {
"javaPackageName": "com.revragai.embedreactnative"
},
"includesGeneratedCode": true
},
"create-react-native-library": {
"type": "turbo-module",
"languages": "cpp",
"version": "0.46.0"
},
"dependencies": {
"livekit-client": "^2.13.1"
}
}