From ab6182ad7819dd5eb88afb913e4969839605bb14 Mon Sep 17 00:00:00 2001 From: Alexander Wunschik Date: Fri, 24 Nov 2017 08:55:52 +0100 Subject: [PATCH] Opencollective (#3681) * Updated .github/ISSUE_TEMPLATE.md (optional) * Updated CONTRIBUTING.md (optional) * Added backers and sponsors on the README * Added call to donate after npm install (optional) * fixed some whitespaces * introduced new level-2 header "Contribute" --- .github/ISSUE_TEMPLATE.md | 3 +++ CONTRIBUTING.md | 33 +++++++++++++++++++++++++++++++++ README.md | 34 ++++++++++++++++++++++++++++++++-- package.json | 9 ++++++++- 4 files changed, 76 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index e4b4ce7d..9d92e207 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -8,3 +8,6 @@ Please make sure to **read the following list** before creating a new issue: * Make sure to mention which browser and OS you are using when creating a bug report. * Please provide a minimal code example that demonstrates your issue. We recommend using [jsbin](jsbin.com) for that. * Delete this list from the actual issue. + + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a5fe23ea..db0d9c89 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,3 +13,36 @@ If you really want to open a new issue: * If you think you found a bug please **provide a simple example** (e.g. on [jsbin](jsbin.com)) that demonstrates the problem. * If you want to propose a feature-request please **describe what you are looking for in detail**, ideally providing a screenshot, drawing or something similar. * **Close the issue later**, when the issue is no longer needed. + +## Financial contributions + +We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/vis). +Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed. + +## Credits + +### Contributors + +Thank you to all the people who have already contributed to vis! + + +### Backers + +Thank you to all our backers! [[Become a backer](https://opencollective.com/vis#backer)] + + + +### Sponsors + +Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/vis#sponsor)) + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 9491657f..8e3718ee 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vis.js -[![Join the chat at https://gitter.im/vis-js/Lobby](https://badges.gitter.im/vis-js/Lobby.svg)](https://gitter.im/vis-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Backers on Open Collective](https://opencollective.com/vis/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/vis/sponsors/badge.svg)](#sponsors) [![Join the chat at https://gitter.im/vis-js/Lobby](https://badges.gitter.im/vis-js/Lobby.svg)](https://gitter.im/vis-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -38,7 +38,7 @@ The vis.js library was initially developed by [Almende B.V](http://almende.com). [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/almende/vis.svg)](http://isitmaintained.com/project/almende/vis "Average time to resolve an issue") [![Pending Pull-Requests](http://githubbadges.herokuapp.com/almende/vis/pulls.svg)](https://github.com/almende/vis/pulls) -[![Code Climate](https://codeclimate.com/github/almende/vis/badges/gpa.svg)](https://codeclimate.com/github/almende/vis) +[![Code Climate](https://codeclimate.com/github/almende/vis/badges/gpa.svg)](https://codeclimate.com/github/almende/vis) ## Install @@ -351,6 +351,36 @@ Then run the tests: $ npm run test +## Contribute + +[Contributions](//github.com/almende/vis/blob/master/misc/how_to_help.md) to the vis.js library are very welcome! [We can't do this alone](//github.com/almende/vis/blob/master/misc/we_need_help.md). + +### Contributors + +This project exists thanks to all the people who already contributed. + + +### Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/vis#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/vis#sponsor)] + + + + + + + + + + + + ## License Copyright (C) 2010-2017 Almende B.V. and Contributors diff --git a/package.json b/package.json index d1d991ab..dd33e28f 100644 --- a/package.json +++ b/package.json @@ -31,13 +31,15 @@ "build": "gulp", "lint": "gulp lint", "watch": "gulp watch", - "watch-dev": "gulp watch --bundle" + "watch-dev": "gulp watch --bundle", + "postinstall": "opencollective postinstall" }, "dependencies": { "emitter-component": "^1.1.1", "hammerjs": "^2.0.8", "keycharm": "^0.2.0", "moment": "^2.18.1", + "opencollective": "^1.0.3", "propagating-hammerjs": "^1.4.6", "timsort": "^0.3.0" }, @@ -73,5 +75,10 @@ "uuid": "^3.1.0", "webpack": "^3.3.0", "yargs": "^8.0.2" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/vis", + "logo": "https://opencollective.com/opencollective/logo.txt" } }