package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name": "microsoft-cognitiveservices-speech-sdk",
  3. "author": "Microsoft Corporation",
  4. "homepage": "https://docs.microsoft.com/azure/cognitive-services/speech-service/",
  5. "version": "1.44.0",
  6. "license": "MIT",
  7. "description": "Microsoft Cognitive Services Speech SDK for JavaScript",
  8. "keywords": [
  9. "microsoft",
  10. "cognitiveservices",
  11. "speech",
  12. "sdk",
  13. "javascript",
  14. "typescript",
  15. "ts",
  16. "js",
  17. "browser",
  18. "websocket",
  19. "speechtotext",
  20. "texttospeech"
  21. ],
  22. "bugs": {
  23. "url": "https://github.com/Microsoft/cognitive-services-speech-sdk-js/issues"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/Microsoft/cognitive-services-speech-sdk-js"
  28. },
  29. "browser": {
  30. "asn1.js-rfc2560": false,
  31. "asn1.js-rfc5280": false,
  32. "https-proxy-agent": false,
  33. "simple-lru-cache": false,
  34. "ws": false,
  35. "fs": false,
  36. "agent-base": false,
  37. "tls": false,
  38. "net": false
  39. },
  40. "main": "distrib/lib/microsoft.cognitiveservices.speech.sdk.js",
  41. "module": "distrib/lib/microsoft.cognitiveservices.speech.sdk.js",
  42. "types": "distrib/lib/microsoft.cognitiveservices.speech.sdk.d.ts",
  43. "files": [
  44. "distrib/lib/**/*",
  45. "distrib/browser/**/*",
  46. "LICENSE",
  47. "REDIST.txt"
  48. ],
  49. "devDependencies": {
  50. "@azure/identity": "^4.9.1",
  51. "@types/bent": "^7.3.2",
  52. "@types/jest": "^27.0.0",
  53. "@types/node": "^12.12.30",
  54. "@types/node-fetch": "^2.6.12",
  55. "@types/prettier": "<2.6.0",
  56. "@types/request": "^2.48.3",
  57. "@types/rimraf": "^3.0.0",
  58. "@types/uuid": "^9.0.0",
  59. "@types/ws": "^7.4.0",
  60. "@typescript-eslint/eslint-plugin": "^5.26.0",
  61. "@typescript-eslint/eslint-plugin-tslint": "^5.27.0",
  62. "@typescript-eslint/parser": "^5.27.0",
  63. "asn1.js": "^5.2.0",
  64. "dts-bundle-webpack": "^1.0.2",
  65. "eslint": "^8.16.0",
  66. "eslint-plugin-import": "^2.26.0",
  67. "eslint-plugin-jsdoc": "^39.3.2",
  68. "eslint-plugin-prefer-arrow": "^1.2.3",
  69. "gulp": "^5.0.0",
  70. "gulp-eslint": "^6.0.0",
  71. "gulp-rename": "^2.0.0",
  72. "gulp-sourcemaps": "^2.6.5",
  73. "gulp-terser": "^2.1.0",
  74. "gulp-typescript": "^5.0.1",
  75. "jest": "^27.0.0",
  76. "jest-junit": "^12.0.0",
  77. "node-fetch": "^2.6.1",
  78. "rimraf": "^3.0.2",
  79. "semver": "^6.3.0",
  80. "source-map-loader": "^3.0.1",
  81. "ts-jest": "^27.0.0",
  82. "tslint": "^5.20.1",
  83. "typescript": "4.5",
  84. "webpack": "^5.72.1",
  85. "webpack-stream": "^7.0.0"
  86. },
  87. "scripts": {
  88. "build": "gulp compress --gulpfile gulpfile.cjs && gulp build --gulpfile gulpfile.cjs",
  89. "test": "npm run lint && npm run jest --coverage",
  90. "test:connection": "node -e \"process.platform === 'win32' ? require('child_process').execSync('powershell -File ./scripts/run-connection-tests.ps1', {stdio: 'inherit'}) : require('child_process').execSync('./scripts/run-connection-tests.sh', {stdio: 'inherit'})\"",
  91. "test:non-connection": "node -e \"process.platform === 'win32' ? require('child_process').execSync('powershell -File ./scripts/run-non-connection-tests.ps1', {stdio: 'inherit'}) : require('child_process').execSync('./scripts/run-non-connection-tests.sh', {stdio: 'inherit'})\"",
  92. "jest": "jest",
  93. "lint": "eslint -c .eslintrc.cjs --ext .ts src",
  94. "linttest": "eslint -c .eslintrc.cjs --ext .ts tests",
  95. "civersion": "node ci/version.cjs",
  96. "prepare": "npm run build",
  97. "setup": "npm install --package-lock-only --ignore-scripts --no-audit"
  98. },
  99. "jest-junit": {
  100. "suiteName": "jest tests",
  101. "outputName": "./test-javascript-junit.xml",
  102. "classNameTemplate": "{filename}-{title}",
  103. "titleTemplate": "{filename}-{title}",
  104. "ancestorSeparator": " � ",
  105. "suiteNameTemplate": "{filepath}",
  106. "includeConsoleOutput": true
  107. },
  108. "dependencies": {
  109. "@types/webrtc": "^0.0.37",
  110. "agent-base": "^6.0.1",
  111. "bent": "^7.3.12",
  112. "https-proxy-agent": "^4.0.0",
  113. "uuid": "^9.0.0",
  114. "ws": "^7.5.6"
  115. },
  116. "overrides": {
  117. "extend": "3.0.2",
  118. "set-value": "4.0.1",
  119. "minimist": "1.2.6",
  120. "source-map": "~0.8.0-beta.0",
  121. "chokidar": {
  122. "glob-parent": "6.0.2"
  123. },
  124. "glob-stream": {
  125. "glob-parent": "6.0.2"
  126. }
  127. },
  128. "sideEffects": false
  129. }