Răsfoiți Sursa

Merge pull request #434 from opencollective/opencollective

Activating Open Collective
Jairo Caro-Accino Viciana 7 ani în urmă
părinte
comite
b88da6a195
2 a modificat fișierele cu 34 adăugiri și 2 ștergeri
  1. 26 0
      README.md
  2. 8 2
      package.json

+ 26 - 0
README.md

@@ -1,5 +1,8 @@
 # PeerJS: Simple peer-to-peer with WebRTC #
 
+[![Backers on Open Collective](https://opencollective.com/peer/backers/badge.svg)](#backers)
+ [![Sponsors on Open Collective](https://opencollective.com/peer/sponsors/badge.svg)](#sponsors) 
+
 PeerJS provides a complete, configurable, and easy-to-use peer-to-peer API built on top of WebRTC, supporting both data channels and media streams.
 
 ### [http://peerjs.com](http://peerjs.com)
@@ -86,12 +89,35 @@ peer.on('call', function(call) {
 
 ### [Changelog](https://github.com/peers/peerjs/blob/master/changelog.md)
 
+## Contributors
+
+This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
+<a href="graphs/contributors"><img src="https://opencollective.com/peer/contributors.svg?width=890&button=false" /></a>
+
 ## Backers
 
 Thank you to all our backers! [[Become a backer](https://opencollective.com/peer#backer)]
 
 <a href="https://opencollective.com/peer#backers" target="_blank"><img src="https://opencollective.com/peer/backers.svg?width=890"></a>
 
+
+## Sponsors
+
+Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/peer#sponsor)]
+
+<a href="https://opencollective.com/peer/sponsor/0/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/0/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/1/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/1/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/2/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/2/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/3/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/3/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/4/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/4/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/5/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/5/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/6/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/6/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/7/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/7/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/8/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/8/avatar.svg"></a>
+<a href="https://opencollective.com/peer/sponsor/9/website" target="_blank"><img src="https://opencollective.com/peer/sponsor/9/avatar.svg"></a>
+
+
+
 ## License
 
 PeerJS is licensed under the [MIT License](https://tldrlegal.com/l/mit).

+ 8 - 2
package.json

@@ -10,7 +10,8 @@
   "author": "Michelle Bu, Eric Zhang",
   "license": "MIT",
   "scripts": {
-    "prepublish": "./node_modules/.bin/grunt"
+    "prepublish": "./node_modules/.bin/grunt",
+    "postinstall": "opencollective-postinstall"
   },
   "devDependencies": {
     "expect.js": "*",
@@ -25,6 +26,11 @@
     "@types/webrtc": "0.0.21",
     "eventemitter3": "^0.1.5",
     "js-binarypack": "0.0.9",
+    "opencollective": "^1.0.3",
     "reliable": "git+https://github.com/michelle/reliable.git"
+  },
+  "collective": {
+    "type": "opencollective",
+    "url": "https://opencollective.com/peer"
   }
-}
+}