From fe25589c95ff39cec16bbdd8360f512a3ca26a69 Mon Sep 17 00:00:00 2001 From: Jess Date: Sun, 7 Apr 2019 13:05:48 -0700 Subject: [PATCH 1/2] Added backers and sponsors on the README --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 511c208..5fbc23f 100755 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![Build Status](https://api.travis-ci.org/HookyQR/VSCodeBeautify.svg?branch=master)](https://travis-ci.org/HookyQR/VSCodeBeautify) [![Build status](https://ci.appveyor.com/api/projects/status/mu73cgat3r1t0weu/branch/master?svg=true)](https://ci.appveyor.com/project/HookyQR/vscodebeautify) [![Licence](https://img.shields.io/github/license/HookyQR/VSCodeBeautify.svg)](https://github.com/HookyQR/VSCodeBeautify) [![VS Code Marketplace](https://vsmarketplacebadge.apphb.com/version-short/HookyQR.beautify.svg) ![Rating](https://vsmarketplacebadge.apphb.com/rating-short/HookyQR.beautify.svg) ![Downloads](https://vsmarketplacebadge.apphb.com/downloads-short/HookyQR.beautify.svg) ![Installs](https://vsmarketplacebadge.apphb.com/installs-short/HookyQR.beautify.svg)](https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify) [![Donate](https://img.shields.io/badge/donate-paypal-brightgreen.svg)](https://paypal.me/HookyQR) +[![Backers on Open Collective](https://opencollective.com/VSCodeBeautify/backers/badge.svg)](#backers) +[![Sponsors on Open Collective](https://opencollective.com/VSCodeBeautify/sponsors/badge.svg)](#sponsors) Beautify `javascript`, `JSON`, `CSS`, `Sass`, and `HTML` in Visual Studio Code. @@ -123,3 +125,33 @@ Use the following to embed a beautify shortcut in keybindings.json. Replace with ## Contributing For information on contributing see [Contributing.md](https://github.com/HookyQR/VSCodeBeautify/blob/master/.github/CONTRIBUTING.md) + +## Contributors + +This project exists thanks to all the people who contribute. + + + +## Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/VSCodeBeautify#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/VSCodeBeautify#sponsor)] + + + + + + + + + + + + + From 0b0a1fdb4e5d64eeb754d42deb6ab10625b50c73 Mon Sep 17 00:00:00 2001 From: Jess Date: Sun, 7 Apr 2019 13:05:48 -0700 Subject: [PATCH 2/2] Added call to donate after npm install (optional) --- package.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 278b778..61d07e3 100755 --- a/package.json +++ b/package.json @@ -212,7 +212,9 @@ "dependencies": { "editorconfig": "0.15.0", "js-beautify": "^1.9.0", - "minimatch": "^3.0.4" + "minimatch": "^3.0.4", + "opencollective-postinstall": "^2.0.2", + "opencollective": "^1.0.3" }, "devDependencies": { "@types/mocha": "^2.2.42", @@ -223,7 +225,7 @@ "vscode": "~1.1.18" }, "scripts": { - "postinstall": "node ./node_modules/vscode/bin/install", + "postinstall": "node ./node_modules/vscode/bin/install && opencollective-postinstall", "test": "node ./node_modules/vscode/bin/test" }, "repository": { @@ -232,5 +234,9 @@ }, "bugs": { "url": "https://github.com/HookyQR/VSCodeBeautify/issues" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/VSCodeBeautify" } -} +} \ No newline at end of file