UNPKG

nativescript-vosk

Version:

Speech recognition plugin using Vosk library.

77 lines (76 loc) 2.84 kB
{ "name": "nativescript-vosk", "version": "0.3.33", "description": "Speech recognition plugin using Vosk library.", "main": "speech-recognition-vosk", "typings": "index.d.ts", "nativescript": { "platforms": { "android": "3.0.0" } }, "scripts": { "tsc": "tsc -skipLibCheck", "build": "npm i && npm run tsc", "postclone": "npm i && cd ../demo && npm i && cd ../src && npm run plugin.link", "test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", "test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", "plugin.link": "npm link && cd ../demo && npm link nativescript-speech-recognition && cd ../src", "plugin.tscwatch": "npm run tsc -- -w", "demo.ios": "npm run build && cd ../demo && tns run ios", "demo.android": "npm run build && cd ../demo && tns run android", "demo.android.clean": "npm run build && cd ../demo && tns plugin remove nativescript-speech-recognition && tns plugin add ../src && tns run android", "demo.reset": "cd ../demo && rimraf platforms", "plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove nativescript-speech-recognition && tns plugin add ../src", "clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link", "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'", "changelog": "conventional-changelog -i ../CHANGELOG.md -s -r 0", "changelog:add": "git add ../CHANGELOG.md && git commit -m 'updated CHANGELOG.md'" }, "repository": { "type": "git", "url": "https://github.com/alphacep/nativescript-vosk.git" }, "keywords": [ "NativeScript", "JavaScript", "iOS", "Siri", "Speech to text", "Speech", "Recognition", "Voice", "Vosk" ], "author": { "name": "Alpha Cephei Inc.", "email": "contact@alphacephei.com" }, "contributors": [ { "name": "Eddy Verbruggen", "email": "eddyverbruggen@gmail.com" }, { "name": "Brad Martin", "email": "bradwaynemartin@gmail.com", "url": "https://github.com/bradmartin" } ], "bugs": { "url": "https://github.com/alphacep/nativescript-vosk/issues" }, "license": "Apache 2.0", "homepage": "https://github.com/alphacep/nativescript-vosk", "readmeFilename": "README.md", "devDependencies": { "@nativescript/core": "~7.0.5", "@nativescript/types": "~7.0.4", "rimraf": "^3.0.2", "tns-core-modules": "^6.0.0", "tns-platform-declarations": "^6.0.0", "tslint": "~6.1.3", "typescript": "~3.9.7" } }