{"_id":"@nuxtjs/opencollective","_rev":"1516070","name":"@nuxtjs/opencollective","description":"[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] [![status][github-actions-src]][github-actions-href]","dist-tags":{"latest":"0.3.2"},"maintainers":[{"name":"alexchopin","email":""},{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"mannil","email":""},{"name":"pi0","email":"pooya@pi0.ir"},{"name":"rchl","email":""}],"time":{"modified":"2021-11-10T06:21:05.000Z","created":"2018-09-02T15:00:17.514Z","0.3.2":"2020-11-04T11:59:09.690Z","0.2.2":"2019-04-02T20:57:07.575Z","0.2.1":"2018-12-13T08:37:46.682Z","0.2.0":"2018-11-25T21:28:56.532Z","0.1.0":"2018-09-02T15:00:17.514Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/opencollective.git"},"versions":{"0.3.2":{"name":"@nuxtjs/opencollective","version":"0.3.2","repository":{"type":"git","url":"git+https://github.com/nuxt-contrib/opencollective.git"},"license":"MIT","main":"dist/index.js","bin":{"opencollective":"bin/opencollective.js"},"scripts":{"build":"bili -t node --format cjs src/index.js","lint":"eslint src test","prepublish":"yarn build","release":"standard-version && git push --follow-tags && npm publish","test":"yarn lint && yarn test:coverage","test:ava":"nyc ava --verbose","test:coverage":"nyc --reporter=lcov --reporter=html ava"},"ava":{"require":["esm"]},"dependencies":{"chalk":"^4.1.0","consola":"^2.15.0","node-fetch":"^2.6.1"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@nuxtjs/eslint-config":"latest","ava":"latest","bili":"latest","eslint":"latest","esm":"latest","fetch-mock":"latest","nyc":"latest","sinon":"latest","standard-version":"latest"},"engines":{"node":">=8.0.0","npm":">=5.0.0"},"gitHead":"a4031f568d997218264fd7a8e60e6062b4ba8cd8","description":"[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] [![status][github-actions-src]][github-actions-href]","bugs":{"url":"https://github.com/nuxt-contrib/opencollective/issues"},"homepage":"https://github.com/nuxt-contrib/opencollective#readme","_id":"@nuxtjs/opencollective@0.3.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"620ce1044f7ac77185e825e1936115bb38e2681c","size":7422,"noattachment":false,"key":"/@nuxtjs/opencollective/-/@nuxtjs/opencollective-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nuxtjs/opencollective/download/@nuxtjs/opencollective-0.3.2.tgz"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"alexchopin","email":""},{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"mannil","email":""},{"name":"pi0","email":"pooya@pi0.ir"},{"name":"rchl","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencollective_0.3.2_1604491149596_0.2823595933731742"},"_hasShrinkwrap":false,"publish_time":1604491149690,"_cnpm_publish_time":1604491149690},"0.2.2":{"name":"@nuxtjs/opencollective","version":"0.2.2","description":"[![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/opencollective/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/opencollective) [![npm](https://img.shields.io/npm/dt/@nuxtjs/opencollective.svg?style=flat-square)](https://npm","license":"MIT","contributors":[{"name":"Alexander Lichter","email":"npm@lichter.io"}],"main":"dist/opencollective.cjs.js","bin":{"opencollective":"bin/opencollective.js"},"repository":{"type":"git","url":"git+https://github.com/nuxt-community/opencollective.git"},"bugs":{"url":"https://github.com/nuxt-community/opencollective/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"bili -t node --format cjs src/index.js","lint":"eslint src test","test":"yarn lint && yarn test:coverage","test:ava":"nyc ava --verbose","test:coverage":"nyc --reporter=lcov --reporter=html ava","release":"standard-version && git push --follow-tags && npm publish","commitlint":"commitlint -e $GIT_PARAMS","coverage":"codecov","prepublish":"yarn build"},"engines":{"node":">=8.0.0","npm":">=5.0.0"},"dependencies":{"chalk":"^2.4.1","consola":"^2.3.0","node-fetch":"^2.3.0"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","ava":"^1.0.0-beta.7","bili":"^3.4.2","codecov":"^3.0.4","esm":"^3.0.84","eslint":"^5.4.0","eslint-config-standard":"^12.0.0","eslint-plugin-ava":"^5.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^4.7.1","fetch-mock":"^7.2.5","husky":"^1.0.0-rc.13","nyc":"^13.1.0","sinon":"^7.1.1","standard-version":"^4.4.0"},"ava":{"require":["esm"]},"husky":{"hooks":{"pre-commit":"npm run lint","commit-msg":"npm run commitlint"}},"gitHead":"24eaec1e35bd9545ddb18b18da92e911ff2a26a1","homepage":"https://github.com/nuxt-community/opencollective#readme","_id":"@nuxtjs/opencollective@0.2.2","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"shasum":"26a761ebf588cc92a422d7cee996a66bd6e2761e","size":6883,"noattachment":false,"key":"/@nuxtjs/opencollective/-/@nuxtjs/opencollective-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nuxtjs/opencollective/download/@nuxtjs/opencollective-0.2.2.tgz"},"maintainers":[{"name":"alexchopin","email":""},{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"mannil","email":""},{"name":"pi0","email":"pooya@pi0.ir"},{"name":"rchl","email":""}],"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencollective_0.2.2_1554238627378_0.22178620111533887"},"_hasShrinkwrap":false,"publish_time":1554238627575,"_cnpm_publish_time":1554238627575},"0.2.1":{"name":"@nuxtjs/opencollective","version":"0.2.1","description":"[![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/opencollective/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/opencollective) [![npm](https://img.shields.io/npm/dt/@nuxtjs/opencollective.svg?style=flat-square)](https://npm","license":"MIT","contributors":[{"name":"Alexander Lichter","email":"npm@lichter.io"}],"main":"dist/opencollective.cjs.js","bin":{"opencollective":"bin/opencollective.js"},"repository":{"type":"git","url":"git+https://github.com/nuxt-community/opencollective.git"},"bugs":{"url":"https://github.com/nuxt-community/opencollective/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"bili -t node --format cjs src/index.js","lint":"eslint src test","test":"yarn lint && yarn test:coverage","test:ava":"nyc ava --verbose","test:coverage":"nyc --reporter=lcov --reporter=html ava","release":"standard-version && git push --follow-tags && npm publish","commitlint":"commitlint -e $GIT_PARAMS","coverage":"codecov","prepublish":"yarn build"},"engines":{"node":">=8.0.0","npm":">=5.0.0"},"dependencies":{"chalk":"^2.4.1","consola":"^2.3.0","node-fetch":"^2.3.0"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","ava":"^1.0.0-beta.7","bili":"^3.4.2","codecov":"^3.0.4","esm":"^3.0.84","eslint":"^5.4.0","eslint-config-standard":"^12.0.0","eslint-plugin-ava":"^5.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^4.7.1","fetch-mock":"^7.2.5","husky":"^1.0.0-rc.13","nyc":"^13.1.0","sinon":"^7.1.1","standard-version":"^4.4.0"},"ava":{"require":["esm"]},"husky":{"hooks":{"pre-commit":"npm run lint","commit-msg":"npm run commitlint"}},"gitHead":"cec2425c53f454ddac0981e871de1783e8bcbd69","homepage":"https://github.com/nuxt-community/opencollective#readme","_id":"@nuxtjs/opencollective@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"11.3.0","_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"dist":{"shasum":"ddf3e6a22990997322bc2b82e2455a7fbffc518d","size":6820,"noattachment":false,"key":"/@nuxtjs/opencollective/-/@nuxtjs/opencollective-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nuxtjs/opencollective/download/@nuxtjs/opencollective-0.2.1.tgz"},"maintainers":[{"name":"alexchopin","email":""},{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"mannil","email":""},{"name":"pi0","email":"pooya@pi0.ir"},{"name":"rchl","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencollective_0.2.1_1544690266580_0.2175068669680078"},"_hasShrinkwrap":false,"publish_time":1544690266682,"_cnpm_publish_time":1544690266682},"0.2.0":{"name":"@nuxtjs/opencollective","version":"0.2.0","description":"[![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/opencollective/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/opencollective) [![npm](https://img.shields.io/npm/dt/@nuxtjs/opencollective.svg?style=flat-square)](https://npm","license":"MIT","contributors":[{"name":"Alexander Lichter","email":"npm@lichter.io"}],"main":"dist/opencollective.cjs.js","bin":{"opencollective":"bin/opencollective.js"},"repository":{"type":"git","url":"git+https://github.com/nuxt-community/opencollective.git"},"bugs":{"url":"https://github.com/nuxt-community/opencollective/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"bili -t node --format cjs src/index.js","lint":"eslint src test","test":"yarn lint && yarn test:coverage","test:ava":"nyc ava --verbose","test:coverage":"nyc --reporter=lcov --reporter=html ava","release":"standard-version && git push --follow-tags && npm publish","commitlint":"commitlint -e $GIT_PARAMS","coverage":"codecov","prepublish":"yarn build"},"engines":{"node":">=8.0.0","npm":">=5.0.0"},"dependencies":{"chalk":"^2.4.1","consola":"^2.3.0","node-fetch":"^2.3.0"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","ava":"^1.0.0-beta.7","bili":"^3.4.2","codecov":"^3.0.4","esm":"^3.0.84","eslint":"^5.4.0","eslint-config-standard":"^12.0.0","eslint-plugin-ava":"^5.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^4.7.1","fetch-mock":"^7.2.5","husky":"^1.0.0-rc.13","nyc":"^13.1.0","sinon":"^7.1.1","standard-version":"^4.4.0"},"ava":{"require":["esm"]},"husky":{"hooks":{"pre-commit":"npm run lint","commit-msg":"npm run commitlint"}},"gitHead":"eae5566d566258fbf71b21a0f7ef576634488207","homepage":"https://github.com/nuxt-community/opencollective#readme","_id":"@nuxtjs/opencollective@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"dist":{"shasum":"2badff33d6fd2dcd5dc5ce95e2171c8095f12d25","size":6669,"noattachment":false,"key":"/@nuxtjs/opencollective/-/@nuxtjs/opencollective-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nuxtjs/opencollective/download/@nuxtjs/opencollective-0.2.0.tgz"},"maintainers":[{"name":"alexchopin","email":""},{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"mannil","email":""},{"name":"pi0","email":"pooya@pi0.ir"},{"name":"rchl","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencollective_0.2.0_1543181336316_0.5336081069332397"},"_hasShrinkwrap":false,"publish_time":1543181336532,"_cnpm_publish_time":1543181336532},"0.1.0":{"name":"@nuxtjs/opencollective","version":"0.1.0","description":"[![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/opencollective/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/opencollective) [![npm](https://img.shields.io/npm/dt/@nuxtjs/opencollective.svg?style=flat-square)](https://npm","license":"MIT","contributors":[{"name":"Alexander Lichter","email":"npm@lichter.io"}],"main":"./src/cjs.js","module":"./src/index.js","bin":{"opencollective":"./src/cjs.js"},"repository":{"type":"git","url":"git+https://github.com/nuxt-community/opencollective.git"},"bugs":{"url":"https://github.com/nuxt-community/opencollective/issues"},"publishConfig":{"access":"public"},"scripts":{"dev":"nuxt test/fixture","lint":"eslint src test","test":"npm run lint && npm run test:coverage","test:ava":"nyc ava --verbose","test:coverage":"nyc --reporter=lcov --reporter=html ava","release":"standard-version && git push --follow-tags && npm publish","commitlint":"commitlint -e $GIT_PARAMS","coverage":"codecov"},"engines":{"node":">=8.0.0","npm":">=5.0.0"},"dependencies":{"chalk":"^2.4.1","consola":"^1.4.3","esm":"^3.0.79","node-fetch":"^2.2.0"},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","ava":"^1.0.0-beta.7","codecov":"^3.0.4","eslint":"^5.4.0","eslint-config-standard":"^11.0.0","eslint-plugin-ava":"^5.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^3.1.0","eslint-plugin-vue":"^4.7.1","fetch-mock":"^6.5.2","husky":"^1.0.0-rc.13","nyc":"^12.0.2","sinon":"^6.1.5","standard-version":"^4.4.0"},"ava":{"require":["esm"]},"husky":{"hooks":{"pre-commit":"npm run lint","commit-msg":"npm run commitlint"}},"gitHead":"1a60b98d60a912b22684ce98f84f79d54256d234","homepage":"https://github.com/nuxt-community/opencollective#readme","_id":"@nuxtjs/opencollective@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"mannil","email":"npm@lichter.io"},"dist":{"shasum":"5dfb10b2148ce77e9590bca9b9ed6e71d2a500eb","size":6057,"noattachment":false,"key":"/@nuxtjs/opencollective/-/@nuxtjs/opencollective-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nuxtjs/opencollective/download/@nuxtjs/opencollective-0.1.0.tgz"},"maintainers":[{"name":"alexchopin","email":""},{"name":"antfu","email":""},{"name":"atinux","email":"atinux@gmail.com"},{"name":"clarkdo","email":"clark.duxin@gmail.com"},{"name":"danielroe","email":"daniel@concision.co.uk"},{"name":"mannil","email":""},{"name":"pi0","email":"pooya@pi0.ir"},{"name":"rchl","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencollective_0.1.0_1535900417432_0.9272620789608716"},"_hasShrinkwrap":false,"publish_time":1535900417514,"_cnpm_publish_time":1535900417514}},"readme":"# @nuxt/opencollective ???? Pretty opencollective stats on postinstall!\n[![npm version][npm-v-src]][npm-v-href]\n[![npm downloads][npm-d-src]][npm-d-href]\n[![status][github-actions-src]][github-actions-href]\n\n![Showcase](https://i.imgur.com/PZqyT3x.jpg)\n\n>\n\n[???? **Release Notes**](./CHANGELOG.md)\n\n## Features\n\nDisplaying **opencollective** statistics and a donation URL after users install a package\nis important for many creators. After problems with current packages that offer similar\nfeatures, we decided to spin off our one own. Our key goals are:\n\n* No interference/problems when installing packages. Never break installation because of the package\n* Pretty output for all information\n* Decent configurability\n* Seamless drop-in for [common](https://github.com/opencollective/opencollective-cli) [solutions](https://github.com/opencollective/opencollective-postinstall)\n\n## Setup\n\n- Add `@nuxt/opencollective` dependency using yarn or npm to your project\n- Add the script to `postinstall` in your package.json\n\n```js\n{\n  // ...\n  \"scripts\": {\n    \"postinstall\": \"opencollective || exit 0\"\n  },\n  \"collective\": {\n    \"url\": \"https://opencollective.com/nuxtjs\"\n  }\n  // ...\n}\n```\n\n- Configure it\n\n## Configuration\n\nConfiguration is applied through your project's `package.json`.\n\nA full configuration looks like:\n\n```json\n{\n  \"collective\": {\n    \"url\": \"https://opencollective.com/nuxtjs\",\n    \"logoUrl\": \"https://opencollective.com/nuxtjs/logo.txt?reverse=true&variant=variant2\",\n    \"donation\": {\n      \"slug\": \"/order/591\",\n      \"amount\": \"50\",\n      \"text\": \"Please donate:\"\n    }\n  }\n}\n```\n\n---\n\n| Attribute | Optional | Default | Comment |\n| ---    |   ---   | ---   | --- |\n| url | ❌  | - | The URL to your opencollective page\n| logo | ✅  | - | **LEGACY**: The URL to the logo that should be displayed. Please use `logoUrl` instead.\n| logoUrl | ✅  | - | The URL to the ASCII-logo that should be displayed.\n| donation.slug | ✅  | '/donate' | The slug that should be appended to `url`. Can be used to setup a specific order.\n| donation.amount | ✅  | - | The default amount that should be selected on the opencollective page.\n| donation.text | ✅  | 'Donate:' | The text that will be displayed before your donation url.\n\n## Disable message\n\nWe know the postinstall messages can be annoying when deploying in\nproduction or running a CI pipeline. That's why the message is\n**disabled** in those environments by default.\n\n**Enabled** when one the following environment variables is set:\n\n* `NODE_ENV=dev`\n* `NODE_ENV=development`\n* `OPENCOLLECTIVE_FORCE`\n\n**Strictly Disabled** when one the following environment variables is set:\n\n- `OC_POSTINSTALL_TEST`\n- `OPENCOLLECTIVE_HIDE`\n- `CI`\n- `CONTINUOUS_INTEGRATION`\n- `NODE_ENV` (set and **not** `dev` or `development`)\n- `DISABLE_OPENCOLLECTIVE` (set to any string value that is not `'false'` or `'0'`,\n  for compatability with\n  [opencollective-postinatall](https://github.com/opencollective/opencollective-postinstall))\n\n## Development\n\n- Clone this repository\n- Install dependencies using `yarn install` or `npm install`\n- Run it manually `path/to/project/root/src/index.js path/to/package/you/want/to/try`\n- Run tests with `npm t` or `yarn test`\n\n## Inspiration\n\nThis project is heavily inspired by [opencollective-cli](https://github.com/opencollective/opencollective-cli).\n\n## License\n\n[MIT License](./LICENSE)\nMIT. Made with ????\n\n<!-- Refs -->\n[npm-v-src]: https://img.shields.io/npm/v/@nuxt/opencollective?style=flat-square\n[npm-v-href]: https://npmjs.com/package/@nuxt/opencollective\n\n[npm-d-src]: https://img.shields.io/npm/dm/@nuxt/opencollective?style=flat-square\n[npm-d-href]: https://npmjs.com/package/@nuxt/opencollective\n\n[github-actions-src]: https://img.shields.io/github/workflow/status/nuxt-contrib/opencollective/ci/master?style=flat-square\n[github-actions-href]: https://github.com/nuxt-contrib/opencollective/actions?query=workflow%3Aci\n","_attachments":{},"homepage":"https://github.com/nuxt-contrib/opencollective#readme","bugs":{"url":"https://github.com/nuxt-contrib/opencollective/issues"},"license":"MIT"}