UNPKG

webrtc-adapter

Version:

A shim to insulate apps from WebRTC spec changes and browser prefix differences

60 lines (59 loc) 2.55 kB
{ "name": "webrtc-adapter", "version": "4.2.0", "description": "A shim to insulate apps from WebRTC spec changes and browser prefix differences", "license": "BSD-3-Clause", "main": "./src/js/adapter_core.js", "repository": { "type": "git", "url": "https://github.com/webrtc/adapter.git" }, "authors": [ "The WebRTC project authors (https://www.webrtc.org/)" ], "scripts": { "preversion": "git stash && npm install && npm test | faucet && git checkout -B bumpVersion && grunt build && grunt copyForPublish && git add package.json release/* && git commit -m 'Add adapter artifacts' --allow-empty", "version": "", "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 master", "prepublish": "grunt build", "test": "grunt && mocha test/unit && karma start test/karma.conf.js && node test/run-tests.js" }, "dependencies": { "sdp": "^2.1.0" }, "engines": { "npm": ">=3.10.0", "node": ">=6.0.0" }, "devDependencies": { "brfs": "^1.4.3", "chai": "^3.5.0", "chromedriver": "^2.29.0", "eslint-config-webrtc": "^1.0.0", "faucet": "0.0.1", "geckodriver": "1.4.0", "grunt": "^0.4.5", "grunt-browserify": "^4.0.1", "grunt-cli": ">=0.1.9", "grunt-contrib-clean": "^1.0.0", "grunt-contrib-copy": "^1.0.0", "grunt-eslint": "^19.0.0", "grunt-githooks": "^0.3.1", "karma": "^1.7.0", "karma-browserify": "^5.1.1", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^2.2.0", "karma-edge-launcher": "^0.4.1", "karma-firefox-launcher": "^1.0.1", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.3", "karma-safari-launcher": "^1.0.0", "karma-stability-reporter": "git+https://github.com/fippo/karma-stability-reporter.git#v1.0.0", "mocha": "^3.2.0", "selenium-webdriver": "3.3.0", "sinon": "^2.2.0", "sinon-chai": "^2.10.0", "tape": "^4.0.0", "travis-multirunner": "^3.0.1" } }