From 9b84f4d57cce27df58695dbe9f3567b6c3f3ba00 Mon Sep 17 00:00:00 2001 From: jess Date: Mon, 11 Mar 2019 04:44:02 -0700 Subject: [PATCH] docs: Activating Open Collective * Added backers and sponsors on the README * Added call to donate after npm install (optional) --- README.md | 34 +++++++++++++++++++++++++++++++++- package.json | 13 ++++++++++--- 2 files changed, 43 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9ec9758..6e2a6b2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # Applause Button +[![Backers on Open Collective](https://opencollective.com/applause-button/backers/badge.svg)](#backers) + [![Sponsors on Open Collective](https://opencollective.com/applause-button/sponsors/badge.svg)](#sponsors) A zero-configuration button for adding applause / claps / kudos to web pages and blog-posts. @@ -20,4 +22,34 @@ The applause button is a custom element that can be added directly to the page. The above will render an applause button, persisting claps and clap counts. -For more information, visit the [project website](https://colineberhardt.github.io/applause-button/); \ No newline at end of file +For more information, visit the [project website](https://colineberhardt.github.io/applause-button/); + +## Contributors + +This project exists thanks to all the people who contribute. + + + +## Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/applause-button#backer)] + + + + +## 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/applause-button#sponsor)] + + + + + + + + + + + + + diff --git a/package.json b/package.json index 6fa1013..9556799 100644 --- a/package.json +++ b/package.json @@ -25,13 +25,20 @@ "build:js": "rollup -c", "prepublish": "yarn run build", "travis-deploy-once": "travis-deploy-once", - "semantic-release": "semantic-release" + "semantic-release": "semantic-release", + "postinstall": "opencollective-postinstall" }, "dependencies": { - "document-register-element": "^1.8.1" + "document-register-element": "^1.8.1", + "opencollective-postinstall": "^2.0.2", + "opencollective": "^1.0.3" }, "repository": { "type": "git", "url": "https://github.com/ColinEberhardt/applause-button.git" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/applause-button" } -} +} \ No newline at end of file