From 40d8dab1649fc10cbcfaed91944936817bb74348 Mon Sep 17 00:00:00 2001 From: jess Date: Mon, 16 Apr 2018 09:32:25 +0900 Subject: [PATCH] Activating Open Collective (#468) * Added backers and sponsors on the README * Added call to donate after npm install (optional) --- README.md | 32 +++++++++++++++++++++++++++++++- package.json | 10 ++++++++-- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dcd0a0f7..8bf0cd2b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ### Commitizen for contributors When you commit with Commitizen, you'll be prompted to fill out any required commit fields at commit time. No more waiting until later for a git commit hook to run and reject your commit (though [that](https://github.com/kentcdodds/validate-commit-msg) can still be helpful). No more digging through [CONTRIBUTING.md](CONTRIBUTING.md) to find what the preferred format is. Get instant feedback on your commit message formatting and be prompted for required fields. -[![travis.ci](https://img.shields.io/travis/commitizen/cz-cli.svg?style=flat-square)](https://travis-ci.org/commitizen/cz-cli) [![Build status](https://ci.appveyor.com/api/projects/status/ha5vb0p6iq8450un/branch/master?svg=true)](https://ci.appveyor.com/project/jimthedev/cz-cli/branch/master) +[![Backers on Open Collective](https://opencollective.com/commitizen/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/commitizen/sponsors/badge.svg)](#sponsors) [![travis.ci](https://img.shields.io/travis/commitizen/cz-cli.svg?style=flat-square)](https://travis-ci.org/commitizen/cz-cli) [![Build status](https://ci.appveyor.com/api/projects/status/ha5vb0p6iq8450un/branch/master?svg=true)](https://ci.appveyor.com/project/jimthedev/cz-cli/branch/master) [![codecov.io](https://img.shields.io/codecov/c/github/commitizen/cz-cli.svg?style=flat-square)](https://codecov.io/github/commitizen/cz-cli?branch=master) [![npm monthly downloads](https://img.shields.io/npm/dm/commitizen.svg?style=flat-square)](https://www.npmjs.com/package/commitizen) [![current version](https://img.shields.io/npm/v/commitizen.svg?style=flat-square)](https://www.npmjs.com/package/commitizen) [![bitHound Score](https://www.bithound.io/github/commitizen/cz-cli/badges/score.svg)](https://www.bithound.io/github/commitizen/cz-cli) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release) #### Installing the command line tool @@ -234,3 +234,33 @@ We accomplish this by letting you define which adapter you'd like to use in your @Den-dp Special thanks to @stevelacy, whose [gulp-git](https://www.npmjs.com/package/gulp-git) project makes commitizen possible. + +## Contributors + +This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. + + + +## Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/commitizen#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/commitizen#sponsor)] + + + + + + + + + + + + + diff --git a/package.json b/package.json index dd94fa07..f492567d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "lint": "eslint --ignore-path .gitignore .", "test": "nyc --require babel-core/register _mocha -- test/tests/index.js", "test:watch": "nodemon -q --ignore test/.tmp/ --ignore test/artifacts/ --ignore coverage/ --exec \"npm run test\" --", - "test:windows": "node ./test/tools/trigger-appveyor-tests.js" + "test:windows": "node ./test/tools/trigger-appveyor-tests.js", + "postinstall": "opencollective postinstall" }, "config": { "commitizen": { @@ -84,6 +85,7 @@ "inquirer": "1.2.3", "lodash": "4.17.2", "minimist": "1.2.0", + "opencollective": "1.0.3", "path-exists": "2.1.0", "shelljs": "0.7.6", "strip-json-comments": "2.0.1" @@ -103,5 +105,9 @@ "engineStrict": true, "engines": { "node": ">= 0.12" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/commitizen" } -} +} \ No newline at end of file