From 657593c3244b758341e58f0da5004cd1a16062b2 Mon Sep 17 00:00:00 2001 From: Xavier Damman Date: Thu, 6 Apr 2017 19:39:31 +0200 Subject: [PATCH] Activating Open Collective (#2494) * Added backers and sponsors on the README * Added call to donate after npm install --- README.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 11 ++++++-- 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 760f357487..6cdf1172df 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Hexo +[![Backers on Open Collective](https://opencollective.com/hexo/backers/badge.svg)](#backers) +[![Sponsors on Open Collective](https://opencollective.com/hexo/sponsors/badge.svg)](#sponsors) [![Build Status](https://travis-ci.org/hexojs/hexo.svg?branch=master)](https://travis-ci.org/hexojs/hexo) [![NPM version](https://badge.fury.io/js/hexo.svg)](http://badge.fury.io/js/hexo) [![Coverage Status](https://coveralls.io/repos/hexojs/hexo/badge.svg?branch=master)](https://coveralls.io/r/hexojs/hexo?branch=master) [![Build status](https://ci.appveyor.com/api/projects/status/hpx3lduqjj2t6uqq/branch/master?svg=true)](https://ci.appveyor.com/project/tommy351/hexo/branch/master) [![Gitter](https://badges.gitter.im/hexojs/hexo.svg)](https://gitter.im/hexojs/hexo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) A fast, simple & powerful blog framework, powered by [Node.js](http://nodejs.org). @@ -44,6 +46,79 @@ $ hexo new "Hello Hexo" $ hexo generate ``` + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/hexo#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/hexo#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ## More Information - Read the [documentation](https://hexo.io/) @@ -55,3 +130,4 @@ $ hexo generate ## License MIT + diff --git a/package.json b/package.json index acb6eaad0b..345e46e296 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "eslint": "eslint .", "jscs": "jscs .", "test": "mocha test/index.js", - "test-cov": "istanbul cover --print both _mocha -- test/index.js" + "test-cov": "istanbul cover --print both _mocha -- test/index.js", + "postinstall": "./node_modules/.bin/opencollective-postinstall || exit 0" }, "directories": { "lib": "./lib", @@ -56,17 +57,23 @@ "warehouse": "^2.2.0" }, "devDependencies": { + "babel-eslint": "^7.2.1", "chai": "^3.5.0", "chai-as-promised": "^5.3.0", "eslint": "^2.12.0", "eslint-config-hexo": "^1.0.4", - "babel-eslint": "^7.2.1", "hexo-renderer-marked": "^0.2.10", "istanbul": "^0.4.3", "jscs": "^3.0.4", "jscs-preset-hexo": "^1.0.1", "mocha": "^2.5.3", + "opencollective-postinstall": "^1.0.15", "rewire": "^2.5.1", "sinon": "^1.17.4" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/hexo", + "logo": "https://opencollective.com/hexo/logo.txt?variant=bits&reverse=true" } }