react-native-deepgram
Version:
React Native SDK for Deepgram's AI-powered speech-to-text, real-time transcription, and text intelligence APIs. Supports live audio streaming, file transcription, sentiment analysis, and topic detection for iOS and Android.
229 lines • 6 kB
JSON
{
"name": "react-native-deepgram",
"version": "2.0.0",
"description": "React Native SDK for Deepgram's AI-powered speech-to-text, real-time transcription, and text intelligence APIs. Supports live audio streaming, file transcription, sentiment analysis, and topic detection for iOS and Android.",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
"types": "./lib/typescript/commonjs/src/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/typescript/module/src/index.d.ts",
"default": "./lib/module/index.js"
},
"require": {
"types": "./lib/typescript/commonjs/src/index.d.ts",
"default": "./lib/commonjs/index.js"
}
},
"./app.plugin.js": "./app.plugin.js"
},
"files": [
"src",
"lib",
"plugin",
"app.plugin.js",
"android",
"ios",
"cpp",
"*.podspec",
"react-native.config.js",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*",
"metro"
],
"scripts": {
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "bob build",
"release": "release-it --only-version",
"build": "npx react-native-builder-bob build",
"build:plugin": "npx tsc --build plugin",
"start": "yarn workspace react-native-deepgram-example start",
"build:pod": "cd example && cd ios && npx pod-install && cd ..",
"example": "yarn workspace react-native-deepgram-example start",
"example:ios": "yarn workspace react-native-deepgram-example ios",
"example:android": "yarn workspace react-native-deepgram-example android",
"build:all": "yarn install && yarn build && yarn build:plugin && yarn build:pod"
},
"keywords": [
"react-native",
"ios",
"android",
"deepgram",
"speech-to-text",
"text-intelligence",
"typescript",
"speech",
"transcription",
"voice-recognition",
"audio-processing",
"real-time-transcription",
"expo",
"mobile-ai",
"voice-to-text",
"stt",
"nlp",
"sentiment-analysis"
],
"repository": {
"type": "git",
"url": "git+https://github.com/itsRares/react-native-deepgram.git"
},
"author": "Rares Popa <rarpopa@hotmail.com> (https://github.com/itsRares)",
"license": "MIT",
"bugs": {
"url": "https://github.com/itsRares/react-native-deepgram/issues"
},
"homepage": "https://github.com/itsRares/react-native-deepgram#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@deepgram/sdk": "^4.7.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.6.0",
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.22.0",
"@evilmartians/lefthook": "^1.5.0",
"@react-native-community/cli": "15.0.0-alpha.2",
"@react-native/babel-preset": "0.79.2",
"@react-native/eslint-config": "^0.78.0",
"@release-it/conventional-changelog": "^9.0.2",
"@types/jest": "^29.5.5",
"@types/react": "^19.0.0",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"commitlint": "^19.6.1",
"del-cli": "^5.1.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react-native": "^5.0.0",
"expo-module-scripts": "^4.1.8",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "19.0.0",
"react-native": "0.76.6",
"react-native-builder-bob": "^0.35.2",
"release-it": "^17.10.0",
"turbo": "^1.10.7",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.1",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"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": {
"name": "angular"
}
}
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"codegen",
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json",
"esm": true
}
]
]
},
"codegenConfig": {
"name": "DeepgramSpec",
"type": "modules",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"android": {
"javaPackageName": "com.ahhzo.react-native-deepgram"
}
},
"create-react-native-library": {
"template": "with-example",
"typescript": true,
"languages": "kotlin-objc",
"type": "turbo-module",
"version": "0.51.1"
},
"resolutions": {
"metro": "0.81.5",
"metro-config": "0.81.5",
"metro-resolver": "0.81.5",
"metro-core": "0.81.5",
"metro-runtime": "0.81.5",
"metro-source-map": "0.81.5",
"metro-symbolicate": "0.81.5",
"metro-transform-worker": "0.81.5"
}
}