cognitive-services-speech-s.../package.json

103 строки
2.7 KiB
JSON
Исходник Обычный вид История

2018-12-14 20:27:57 +03:00
{
"name": "microsoft-cognitiveservices-speech-sdk",
"author": "Microsoft Corporation",
"homepage": "https://docs.microsoft.com/azure/cognitive-services/speech-service/",
2020-03-26 06:16:01 +03:00
"version": "1.11.0-alpha.0.1",
2018-12-14 20:27:57 +03:00
"license": "MIT",
"description": "Microsoft Cognitive Services Speech SDK for JavaScript",
"keywords": [
"microsoft",
"cognitiveservices",
"speech",
"sdk",
"javascript",
"typescript",
"ts",
"js",
"browser",
"websocket",
"speechtotext",
"texttospeech"
2018-12-14 20:27:57 +03:00
],
"bugs": {
"url": "https://github.com/Microsoft/cognitive-services-speech-sdk-js/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/cognitive-services-speech-sdk-js"
},
"browser": {
"asn1.js-rfc2560": false,
"asn1.js-rfc5280": false,
2019-06-20 21:36:19 +03:00
"distrib/es2015/external/ocsp/ocsp": false,
"distrib/lib/external/ocsp/ocsp": false,
"https-proxy-agent": false,
"simple-lru-cache": false,
"ws": false,
"fs": false
},
2019-06-20 01:45:49 +03:00
"main": "distrib/lib/microsoft.cognitiveservices.speech.sdk.js",
"module": "distrib/es2015/microsoft.cognitiveservices.speech.sdk.js",
"types": "distrib/lib/microsoft.cognitiveservices.speech.sdk.d.ts",
2018-12-14 20:27:57 +03:00
"files": [
"distrib/lib/**/*",
2019-06-20 01:45:49 +03:00
"distrib/es2015/**/*",
"distrib/browser/**/*",
2018-12-14 20:27:57 +03:00
"LICENSE",
"REDIST.txt"
],
"devDependencies": {
"@types/jest": "^25.2.2",
"@types/node": "^12.12.30",
2020-01-17 22:11:08 +03:00
"@types/request": "^2.48.3",
"@types/ws": "^6.0.4",
"asn1.js": "^5.2.0",
"dts-bundle-webpack": "^1.0.2",
2019-06-20 01:45:49 +03:00
"gulp": "^4.0.2",
2020-01-17 22:11:08 +03:00
"gulp-rename": "^2.0.0",
2019-06-20 01:45:49 +03:00
"gulp-sourcemaps": "^2.6.5",
"gulp-terser": "^1.2.0",
"gulp-tslint": "^8.1.4",
"gulp-typescript": "^5.0.1",
"jest": "^26.0.1",
2020-01-17 22:11:08 +03:00
"jest-junit": "^10.0.0",
"request": "^2.88.0",
2019-09-13 21:03:39 +03:00
"semver": "^6.3.0",
2019-06-20 01:45:49 +03:00
"source-map-loader": "^0.2.4",
"ts-jest": "^25.5.1",
2020-01-17 22:11:08 +03:00
"tslint": "^5.20.1",
"typescript": "^3.5.3",
2019-09-13 21:03:39 +03:00
"webpack-stream": "^5.2.1"
2018-12-14 20:27:57 +03:00
},
"scripts": {
2019-06-20 01:45:49 +03:00
"build": "gulp compress && gulp build2015",
DialogServiceConnector, Connect/Disconnect impl (#90) * Implemented DialogConnectorFactory. * WIP * begin add dialog tests * connect impl and first test * headers for browser * expose connect * initial listenOnce * repalce websocket use * listenOnce with browser connection support * listenOnce with activity responses * expose get/setter props * cleanup * generic send fnc * extracting functionality from base reco * Save the day * First incarnation of the BaseAudioPlayer class. # Conflicts: # tests/DialogServiceConnectorTests.ts * Fix bugs in BaseAudioPlayer and added manual tests for it. - server.js - web socket streaming long audio file (node server.js from the folder) - AudioPlayerBaseTest.html lauch http-server in the folder and then load the page * lint cleanup * Added missed server.js file for audio player manual tests * Added audio output stream * TSLint fixes * AudioOutputStreamTests * update message loop * AudioOutputStream fixes Jsonification of activity Added AudioOutputStream to activity ActivityPayloadResponse class * refactor message loop and add sendActivity * Turn management classes * Add integration with turn management * Few fixes - turn.end is not coming Merge branch 'brandom/dialog' of https://github.com/microsoft/cognitive-services-speech-sdk-js into gghizila/TTSStreamIntegration # Conflicts: # src/common.speech/DialogServiceAdapter.ts * Fixed the traces for turns to report "debugturn" to help with turn.end investigation missing * Added timeouts as workaround to not routed messages to 2s. Added debugturn logging for investingating the messages not routed. Added timestamps to console.info * remove promisehelper wait, rm cancel recos * minor code restructuring * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * Added try / catch for audio message handling. * restrict config to once per connection * Upgrade https-proxy-agent to 2.2.3 after the last alert. * fix reco end, remove speech context on turn.end * Fix machine in the middle vulnerability for "https-proxy-agent" (#97) - changes generated by npm audit fix --force - upgrade "https-proxy-agent" to 3.0.0 as there is inconsistency on reports as what version fixes the vulnerability * fix for mic staying open * split config into BF and Commands * add temporary ApplicationId to tests * add reconnect on websocket timeout, config parity * remove authHeader from botFramework config * Implemented DialogConnectorFactory. * WIP * begin add dialog tests * connect impl and first test * headers for browser * initial listenOnce * expose connect * repalce websocket use * listenOnce with browser connection support * listenOnce with activity responses * expose get/setter props * cleanup * generic send fnc * extracting functionality from base reco * Save the day * First incarnation of the BaseAudioPlayer class. # Conflicts: # tests/DialogServiceConnectorTests.ts * Fix bugs in BaseAudioPlayer and added manual tests for it. - server.js - web socket streaming long audio file (node server.js from the folder) - AudioPlayerBaseTest.html lauch http-server in the folder and then load the page * lint cleanup * Added missed server.js file for audio player manual tests * Added audio output stream * TSLint fixes * AudioOutputStreamTests * update message loop * AudioOutputStream fixes Jsonification of activity Added AudioOutputStream to activity ActivityPayloadResponse class * refactor message loop and add sendActivity * Turn management classes * Add integration with turn management * Few fixes - turn.end is not coming Merge branch 'brandom/dialog' of https://github.com/microsoft/cognitive-services-speech-sdk-js into gghizila/TTSStreamIntegration # Conflicts: # src/common.speech/DialogServiceAdapter.ts * Fixed the traces for turns to report "debugturn" to help with turn.end investigation missing * Added timeouts as workaround to not routed messages to 2s. Added debugturn logging for investingating the messages not routed. Added timestamps to console.info * remove promisehelper wait, rm cancel recos * minor code restructuring * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * Added try / catch for audio message handling. * restrict config to once per connection * fix reco end, remove speech context on turn.end * fix for mic staying open * split config into BF and Commands * add temporary ApplicationId to tests * add reconnect on websocket timeout, config parity * remove authHeader from botFramework config * merge * restore code coverage * extend gitattributes
2019-10-31 21:48:40 +03:00
"test": "npm run lint && npm run jest --coverage",
2018-12-14 20:27:57 +03:00
"jest": "jest",
"lint": "tslint -p tsconfig.json",
"civersion": "node ci/version.js",
2019-06-14 20:43:53 +03:00
"prepare": "npm run build"
2018-12-14 20:27:57 +03:00
},
"jest": {
"testEnvironment": "node"
},
"jest-junit": {
"suiteName": "jest tests",
"output": "./test-javascript-junit.xml",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " <20> ",
"usePathForSuiteName": "true"
},
"dependencies": {
"asn1.js-rfc2560": "^5.0.0",
"asn1.js-rfc5280": "^3.0.0",
2020-01-17 22:11:08 +03:00
"https-proxy-agent": "^3.0.1",
"simple-lru-cache": "0.0.2",
2020-01-17 22:11:08 +03:00
"ws": "^7.2.0"
},
"resolutions": {
"extend": "3.0.2"
2019-06-20 01:45:49 +03:00
},
"sideEffects": false
}