diff --git a/Readme.md b/Readme.md index 6c6d97caf9..c2554e6146 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,7 @@ # socket.io +[![Backers on Open Collective](https://opencollective.com/socketio/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/socketio/sponsors/badge.svg)](#sponsors) [![Build Status](https://secure.travis-ci.org/socketio/socket.io.svg?branch=master)](https://travis-ci.org/socketio/socket.io) [![Dependency Status](https://david-dm.org/socketio/socket.io.svg)](https://david-dm.org/socketio/socket.io) [![devDependency Status](https://david-dm.org/socketio/socket.io/dev-status.svg)](https://david-dm.org/socketio/socket.io#info=devDependencies) @@ -163,6 +164,81 @@ Set the environmental variable `TEST_VERSION` to `compat` to test the transpiled The `gulp` task `test` will always transpile the source code into es5 and export to `dist` first before running the test. + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/socketio#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/socketio#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ## License [MIT](LICENSE) + + diff --git a/package.json b/package.json index 22a0857594..967ca049a1 100644 --- a/package.json +++ b/package.json @@ -21,12 +21,14 @@ "url": "git://github.com/socketio/socket.io" }, "scripts": { - "test": "gulp test" + "test": "gulp test", + "postinstall": "opencollective postinstall" }, "dependencies": { "debug": "~2.6.6", "engine.io": "~3.1.0", "object-assign": "~4.1.1", + "opencollective": "^1.0.3", "socket.io-adapter": "~1.1.0", "socket.io-client": "socketio/socket.io-client", "socket.io-parser": "~3.1.1" @@ -62,5 +64,10 @@ "name": "Einar Otto Stangvik", "email": "einaros@gmail.com" } - ] -} + ], + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/socketio", + "logo": "https://opencollective.com/socketio/logo.txt?variant=binary&reverse=true" + } +} \ No newline at end of file