仲裁视频会议H5

package.json 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "webrtc-adapter",
  3. "version": "8.2.3",
  4. "description": "A shim to insulate apps from WebRTC spec changes and browser prefix differences",
  5. "license": "BSD-3-Clause",
  6. "main": "./dist/adapter_core.js",
  7. "types": "./index.d.ts",
  8. "module": "./src/js/adapter_core.js",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/webrtchacks/adapter.git"
  12. },
  13. "authors": [
  14. "The WebRTC project authors (https://www.webrtc.org/)",
  15. "The adapter.js project authors (https://github.com/webrtchacks/adapter/)"
  16. ],
  17. "scripts": {
  18. "preversion": "git stash && npm install && npm update && BROWSER=chrome BVER=stable CI=true npm test && git checkout -B bumpVersion && grunt build && grunt copyForPublish && git add package.json release/* && git commit -m 'Add adapter artifacts' --allow-empty",
  19. "version": "",
  20. "postversion": "export GITTAG=\"echo $(git describe --abbrev=0 --tags | sed 's/^v//')\" && git push --force --set-upstream origin bumpVersion --follow-tags && git checkout gh-pages && git pull && cp out/adapter.js adapter.js && cp adapter.js adapter-`$GITTAG`.js && rm adapter-latest.js && ln -s adapter-`$GITTAG`.js adapter-latest.js && mkdir -p adapter-`$GITTAG`-variants && cp out/adapter.js adapter-`$GITTAG`-variants/ && cp out/adapter_*.js adapter-`$GITTAG`-variants/ && git add adapter.js adapter-latest.js adapter-`$GITTAG`.js adapter-`$GITTAG`-variants && git commit -m `$GITTAG` && git push --set-upstream origin gh-pages && git checkout main",
  21. "prepare": "grunt build",
  22. "prepublishonly": "npm test",
  23. "test": "grunt && mocha test/unit && grunt downloadBrowser && karma start test/karma.conf.js",
  24. "lint-and-unit-tests": "grunt && mocha test/unit",
  25. "e2e-tests": "grunt && grunt downloadBrowser && karma start test/karma.conf.js"
  26. },
  27. "dependencies": {
  28. "sdp": "^3.2.0"
  29. },
  30. "engines": {
  31. "npm": ">=3.10.0",
  32. "node": ">=6.0.0"
  33. },
  34. "devDependencies": {
  35. "@babel/core": "^7.21.0",
  36. "@babel/preset-env": "^7.20.2",
  37. "babel-preset-env": "^1.7.0",
  38. "brfs": "^1.5.0",
  39. "chai": "^3.5.0",
  40. "grunt": "^1.1.0",
  41. "grunt-babel": "^8.0.0",
  42. "grunt-browserify": "^6.0.0",
  43. "grunt-cli": "^1.3.1",
  44. "grunt-contrib-clean": "^1.1.0",
  45. "grunt-contrib-copy": "^1.0.0",
  46. "grunt-eslint": "^24.0.0",
  47. "grunt-shell": "^2.1.0",
  48. "karma": "^6.4.1",
  49. "karma-browserify": "^8.1.0",
  50. "karma-chai": "^0.1.0",
  51. "karma-chrome-launcher": "^2.2.0",
  52. "karma-firefox-launcher": "^1.3.0",
  53. "karma-mocha": "^2.0.1",
  54. "karma-mocha-reporter": "^2.2.3",
  55. "karma-safari-launcher": "^1.0.0",
  56. "karma-stability-reporter": "^3.0.1",
  57. "mocha": "^10.1.0",
  58. "sinon": "^2.2.0",
  59. "sinon-chai": "^2.14.0",
  60. "travis-multirunner": "^5.0.1"
  61. }
  62. }