UNPKG

react-native-sherpa-onnx-offline-stt

Version:

React Native wrapper for sherpa-onnx offline speech-to-text with TEN-VAD and speaker diarization

164 lines (163 loc) 3.92 kB
{ "name": "react-native-sherpa-onnx-offline-stt", "version": "0.1.0", "description": "React Native wrapper for sherpa-onnx offline speech-to-text with TEN-VAD and speaker diarization", "source": "./src/index.tsx", "main": "./src/index.tsx", "module": "./src/index.tsx", "types": "./src/index.tsx", "react-native": "./src/index.tsx", "files": [ "src", "android", "ios", "scripts", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-sherpa-onnx-offline-stt-example", "test": "jest", "typecheck": "tsc --noEmit", "preinstall": "node scripts/download-build-ios.js", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build", "release": "release-it" }, "keywords": [ "react-native", "ios", "android", "speech-to-text", "stt", "asr", "sherpa-onnx", "vad", "ten-vad", "speaker-diarization", "offline" ], "repository": { "type": "git", "url": "git+https://github.com/anganyai/react-native-sherpa-onnx-offline-stt.git" }, "author": "Sylvain Boily <sylvainboilydroid@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/anganyai/react-native-sherpa-onnx-offline-stt/issues" }, "homepage": "https://github.com/anganyai/react-native-sherpa-onnx-offline-stt#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^17.0.2", "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", "prettier": "^3.0.3", "react": "18.3.1", "react-native": "0.75.3", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "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": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "create-react-native-library": { "type": "module-legacy", "languages": "kotlin-swift", "version": "0.41.1" }, "directories": { "example": "example", "lib": "lib" }, "dependencies": { "tar": "^6.2.1", "unbzip2-stream": "^1.4.3" } }