whisper.rn
Version:
React Native binding of whisper.cpp
148 lines (147 loc) • 3.62 kB
JSON
{
"name": "whisper.rn",
"version": "0.4.0-rc.11",
"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",
"files": [
"src",
"lib",
"jest",
"android",
"ios",
"cpp/*.*",
"cpp/coreml/*.*",
"*.podspec",
"!lib/typescript/example",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"bootstrap": "./scripts/bootstrap.sh",
"docgen": "typedoc src/index.ts --plugin typedoc-plugin-markdown --excludePrivate --readme none --out docs/API",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"typecheck": "tsc --noEmit",
"prepack": "yarn docgen && bob build",
"test": "jest",
"example": "yarn --cwd example",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
},
"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",
"@react-native/babel-preset": "0.74.88",
"@react-native/metro-config": "^0.73.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.4.4",
"@types/react": "^18.2.6",
"@types/react-native": "0.70.0",
"@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": "18.2.0",
"react-native": "0.74.6",
"react-native-builder-bob": "^0.20.4",
"release-it": "^15.8.0",
"typedoc": "^0.24.7",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^4.9.5"
},
"resolutions": {
"@types/react": "17.0.21"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"engines": {
"node": ">=18"
},
"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": "all",
"jsSrcsDir": "./src/"
},
"packageManager": "yarn@1.22.22"
}