forked from webrtcHacks/adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "webrtc-adapter",
"version": "1.3.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 && git checkout master && git pull && npm test | faucet && git checkout -B bumpVersion",
"version": "grunt build",
"postversion": "git push --force --set-upstream origin bumpVersion --follow-tags && export GITTAG=\"echo $(git describe --abbrev=0 --tags | sed 's/^v//')\" && 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 && node test/run-tests.js"
},
"dependencies": {
"sdp": "^1.0.0"
},
"engines": {
"npm": "~3.0.0"
},
"devDependencies": {
"chromedriver": "^2.16.0",
"eslint-config-webrtc": "^1.0.0",
"faucet": "0.0.1",
"grunt": "^0.4.5",
"grunt-browserify": "^4.0.1",
"grunt-cli": ">=0.1.9",
"grunt-eslint": "^17.2.0",
"grunt-githooks": "^0.3.1",
"selenium-webdriver": "^2.52.0",
"tape": "^4.0.0",
"travis-multirunner": "^3.0.1"
}
}