Skip to content

Commit 9f01fed

Browse files
committed
Merge pull request #275 from webrtc/fixPublishTests
use npm test when publishing
2 parents e3bb40b + b616731 commit 9f01fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"The WebRTC project authors (https://www.webrtc.org/)"
1313
],
1414
"scripts": {
15-
"preversion": "git stash && git checkout master && git pull && grunt && test/run-tests | faucet && git checkout -B bumpVersion",
15+
"preversion": "git stash && git checkout master && git pull && npm test | faucet && git checkout -B bumpVersion",
1616
"version": "grunt build",
1717
"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 . && cp adapter.js adapter-`$GITTAG`.js && rm adapter-latest.js && ln -s adapter-`$GITTAG`.js adapter-latest.js && mkdir 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",
1818
"prepublish": "grunt build",

0 commit comments

Comments
 (0)