whisper.rn
Version:
React Native binding of whisper.cpp
165 lines (164 loc) • 4.16 kB
JSON
{
"name": "whisper.rn",
"version": "0.6.0",
"description": "React Native binding of whisper.cpp",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"exports": {
"./*": {
"import": "./lib/module/*",
"require": "./lib/commonjs/*",
"types": "./lib/typescript/*",
"react-native": "src/*"
}
},
"files": [
"src",
"lib",
"jest",
"android",
"cpp",
"ios",
"*.podspec",
"!lib/typescript/example",
"!ios/build",
"!android/.cxx",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/src/main/jniLibs",
"!android/src/main/jniLibs/**",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"bootstrap": "./scripts/bootstrap.sh",
"docgen": "typedoc src/index.ts src/realtime-transcription/index.ts --plugin typedoc-plugin-markdown --excludePrivate --readme none --out docs/API",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"typecheck": "tsc --noEmit",
"build": "bob build",
"prepack": "yarn docgen && yarn build",
"test": "jest",
"example": "yarn --cwd example",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
"build:ios-frameworks": "./scripts/build-ios.sh",
"build:ios": "cd example && npm run build:ios",
"build:android": "cd example && npm run build:android"
},
"keywords": [
"react-native",
"ios",
"android",
"native module",
"whisper",
"openai",
"whisper.cpp",
"speech recognition"
],
"repository": "https://github.com/mybigday/whisper.rn",
"author": "Jhen-Jie Hong <developer@jhen.me>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mybigday/whisper.rn/issues"
},
"homepage": "https://github.com/mybigday/whisper.rn#readme",
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.2.2",
"@fugood/eslint-config-react": "^0.5.0",
"@fugood/react-native-audio-pcm-stream": "^1.1.4",
"@react-native/babel-preset": "0.84.1",
"@react-native/metro-config": "0.84.1",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.4.4",
"@types/react": "^19.2.14",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"commitlint": "^17.0.2",
"del-cli": "^5.0.0",
"eslint": "^8.36.0",
"jest": "^29.5.0",
"pod-install": "^0.1.38",
"react": "19.2.3",
"react-native": "0.84.1",
"react-native-builder-bob": "^0.20.4",
"release-it": "^15.8.0",
"typedoc": "^0.24.7",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^5.8.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"resolutions": {
"@types/react": "19.2.14"
},
"engines": {
"node": ">=20.19.4"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/",
"<rootDir>/whisper.cpp/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true,
"skipChecks": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNWhisperSpec",
"type": "modules",
"jsSrcsDir": "src"
},
"packageManager": "yarn@1.22.22",
"dependencies": {
"safe-buffer": "^5.2.1"
}
}