UNPKG

@mhpdev/react-native-speech

Version:

A high-performance React Native library for text-to-speech on iOS and Android

210 lines (209 loc) 4.8 kB
{ "name": "@mhpdev/react-native-speech", "version": "1.1.4", "description": "A high-performance React Native library for text-to-speech on iOS and Android", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/module/src/index.d.ts", "files": [ "src", "lib", "jest", "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__", "!**/.*", "app.plugin.js" ], "scripts": { "example": "yarn workspace react-native-speech-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 lib", "prepare": "bob build", "release": "release-it" }, "keywords": [ "react-native", "ios", "android", "react-native-speech", "react-native-tts", "react-native-text-to-speech", "text-to-speech", "tts", "voice", "speech", "highlighted", "highlight-text", "highlighter", "react-native-highlighted-text" ], "repository": { "type": "git", "url": "git+https://github.com/mhpdev-com/react-native-speech.git" }, "author": "Mhpdev <hi@mhpdev.com> (https://github.com/mhpdev-com)", "license": "MIT", "bugs": { "url": "https://github.com/mhpdev-com/react-native-speech/issues" }, "homepage": "https://github.com/mhpdev-com/react-native-speech#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@expo/config-plugins": "^9.0.16", "@react-native-community/cli": "15.0.1", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^17.0.2", "conventional-changelog-angular": "^8.0.0", "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": "19.0.0", "react-native": "0.78.0", "react-native-builder-bob": "^0.36.0", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "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": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "arrowParens": "avoid", "bracketSameLine": true, "bracketSpacing": false, "singleQuote": true, "trailingComma": "all" } ] } }, "eslintIgnore": [ "node_modules/", "lib/", "docs/", "app.plugin.js" ], "prettier": { "arrowParens": "avoid", "bracketSameLine": true, "bracketSpacing": false, "singleQuote": true, "trailingComma": "all" }, "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": "RNSpeechSpec", "type": "modules", "jsSrcsDir": "src", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.speech" }, "includesGeneratedCode": true }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.48.2" } }