From dd7cd5e927db282dce1fc1c308f8d022f5f74a22 Mon Sep 17 00:00:00 2001 From: Jess Date: Mon, 15 Jul 2019 15:30:44 -0700 Subject: [PATCH 1/3] Added financial contributors to the README --- README.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ff4d925..ba5207b7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-[![license](https://img.shields.io/badge/license-Apache_2.0-red.svg?style=for-the-badge)]() +[![Financial Contributors on Open Collective](https://opencollective.com/react-unity-webgl/all/badge.svg?label=financial+contributors)](https://opencollective.com/react-unity-webgl) [![license](https://img.shields.io/badge/license-Apache_2.0-red.svg?style=for-the-badge)]() [![npm](https://img.shields.io/npm/v/react-unity-webgl.svg?style=for-the-badge)]() [![npm](https://img.shields.io/badge/build-passing-brightgreen.svg?style=for-the-badge)]()
@@ -54,3 +54,33 @@ export class App extends React.Component { } } ``` + +## Contributors + +### Code Contributors + +This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. + + +### Financial Contributors + +Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/react-unity-webgl/contribute)] + +#### Individuals + + + +#### Organizations + +Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/react-unity-webgl/contribute)] + + + + + + + + + + + From f87068c5f8b3a6f5124a688b5c82699db57f7fa7 Mon Sep 17 00:00:00 2001 From: Jess Date: Mon, 15 Jul 2019 15:30:44 -0700 Subject: [PATCH 2/3] Added call to donate after npm install (optional) --- package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 64362933..bf3039de 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "start": "tsc --watch", "test": "tsc", - "prepublish": "npm run test" + "prepublish": "npm run test", + "postinstall": "opencollective-postinstall || true" }, "repository": { "type": "git", @@ -26,5 +27,12 @@ "devDependencies": { "@types/react": "16.8.14", "typescript": "^3.4.5" + }, + "dependencies": { + "opencollective-postinstall": "^2.0.2" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/react-unity-webgl" } -} +} \ No newline at end of file From c79b45a172ce6ba0d579c2ba2ccbccc9e144551c Mon Sep 17 00:00:00 2001 From: jess Date: Mon, 15 Jul 2019 15:31:47 -0700 Subject: [PATCH 3/3] Update README.md update style of badge to match --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba5207b7..78f889f0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-[![Financial Contributors on Open Collective](https://opencollective.com/react-unity-webgl/all/badge.svg?label=financial+contributors)](https://opencollective.com/react-unity-webgl) [![license](https://img.shields.io/badge/license-Apache_2.0-red.svg?style=for-the-badge)]() +[![Financial Contributors on Open Collective](https://opencollective.com/react-unity-webgl/all/badge.svg?style=for-the-badge)](https://opencollective.com/react-unity-webgl) [![license](https://img.shields.io/badge/license-Apache_2.0-red.svg?style=for-the-badge)]() [![npm](https://img.shields.io/npm/v/react-unity-webgl.svg?style=for-the-badge)]() [![npm](https://img.shields.io/badge/build-passing-brightgreen.svg?style=for-the-badge)]()