diff --git a/README.md b/README.md index 9ff4d92..78f889f 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?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)]()
@@ -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)] + + + + + + + + + + + diff --git a/package.json b/package.json index 6436293..bf3039d 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