{"_id":"opencollective","_rev":"87882","name":"opencollective","description":"Official Command Line Interface for Open Collective","dist-tags":{"latest":"1.0.3"},"maintainers":[{"name":"asood123","email":"asood123@yahoo.com"},{"name":"xdamman","email":"xdamman@gmail.com"}],"time":{"modified":"2021-06-03T10:28:34.000Z","created":"2017-05-01T14:28:29.177Z","1.0.3":"2017-05-03T14:26:41.119Z","1.0.2":"2017-05-03T14:23:22.486Z","1.0.1":"2017-05-03T14:18:34.155Z","1.0.0":"2017-05-01T14:28:29.177Z"},"users":{},"author":{"name":"Xavier Damman","email":"@xdamman"},"repository":{"type":"git","url":"git+https://github.com/opencollective/opencollective-cli.git"},"versions":{"1.0.3":{"name":"opencollective","version":"1.0.3","description":"Official Command Line Interface for Open Collective","main":"index.js","repository":{"type":"git","url":"git+https://github.com/opencollective/opencollective-cli.git"},"scripts":{"test":"npm run clean && npm run build && mocha test --require babel-core/register","clean":"rm -rf dist && rm -rf test/*package*/node_modules && git checkout test/*package*/package.json || exit 0","build":"babel --copy-files -d dist/ src/","prepare":"npm run build"},"bin":{"opencollective":"./dist/bin/opencollective.js","oc":"./dist/bin/opencollective.js"},"keywords":["opencollective","donate","donation","fundoss","npm"],"author":{"name":"Xavier Damman","email":"@xdamman"},"license":"MIT","bugs":{"url":"https://github.com/opencollective/opencollective-cli/issues"},"homepage":"https://github.com/opencollective/opencollective-cli#readme","dependencies":{"chalk":"1.1.3","inquirer":"3.0.6","minimist":"1.2.0","node-fetch":"1.6.3","babel-polyfill":"6.23.0","opn":"4.0.2"},"devDependencies":{"babel-cli":"6.24.1","babel-core":"6.24.1","babel-preset-es2015":"6.24.1","babel-preset-stage-0":"6.24.1","babel-register":"6.14.0","chai":"3.5.0","cross-env":"4.0.0","mocha":"3.2.0"},"gitHead":"b7fc13ba6140c77066f5628506c4f4f90268fc13","_id":"opencollective@1.0.3","_shasum":"aee6372bc28144583690c3ca8daecfc120dd0ef1","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"xdamman","email":"xdamman@gmail.com"},"dist":{"shasum":"aee6372bc28144583690c3ca8daecfc120dd0ef1","size":65501,"noattachment":false,"key":"/opencollective/-/opencollective-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/opencollective/download/opencollective-1.0.3.tgz"},"maintainers":[{"name":"asood123","email":"asood123@yahoo.com"},{"name":"xdamman","email":"xdamman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opencollective-1.0.3.tgz_1493821598935_0.737031678436324"},"directories":{},"publish_time":1493821601119,"_cnpm_publish_time":1493821601119,"_hasShrinkwrap":false},"1.0.2":{"name":"opencollective","version":"1.0.2","description":"Official Command Line Interface for Open Collective","main":"index.js","repository":{"type":"git","url":"git+https://github.com/opencollective/opencollective-cli.git"},"scripts":{"test":"npm run clean && npm run build && mocha test --require babel-core/register","clean":"rm -rf dist && rm -rf test/*package*/node_modules && git checkout test/*package*/package.json || exit 0","build":"babel --copy-files -d dist/ src/","prepare":"npm run build"},"bin":{"opencollective":"./dist/bin/opencollective.js","oc":"./dist/bin/opencollective.js"},"keywords":["opencollective","donate","donation","fundoss","npm"],"author":{"name":"Xavier Damman","email":"@xdamman"},"license":"MIT","bugs":{"url":"https://github.com/opencollective/opencollective-cli/issues"},"homepage":"https://github.com/opencollective/opencollective-cli#readme","dependencies":{"chalk":"1.1.3","inquirer":"3.0.6","minimist":"1.2.0","node-fetch":"1.6.3","opn":"4.0.2"},"devDependencies":{"babel-cli":"6.24.1","babel-core":"6.24.1","babel-polyfill":"6.23.0","babel-preset-es2015":"6.24.1","babel-preset-stage-0":"6.24.1","babel-register":"6.14.0","chai":"3.5.0","cross-env":"4.0.0","mocha":"3.2.0"},"gitHead":"0a940e4a0756c29f91ed90d92de4c109e8476cc9","_id":"opencollective@1.0.2","_shasum":"d31d448a64a3ee8bee577e82e6c7abc889370afe","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"xdamman","email":"xdamman@gmail.com"},"dist":{"shasum":"d31d448a64a3ee8bee577e82e6c7abc889370afe","size":65452,"noattachment":false,"key":"/opencollective/-/opencollective-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/opencollective/download/opencollective-1.0.2.tgz"},"maintainers":[{"name":"asood123","email":"asood123@yahoo.com"},{"name":"xdamman","email":"xdamman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opencollective-1.0.2.tgz_1493821400523_0.7353672643657774"},"directories":{},"publish_time":1493821402486,"_cnpm_publish_time":1493821402486,"_hasShrinkwrap":false},"1.0.1":{"name":"opencollective","version":"1.0.1","description":"Official Command Line Interface for Open Collective","main":"index.js","repository":{"type":"git","url":"git+https://github.com/opencollective/opencollective-cli.git"},"scripts":{"test":"npm run clean && npm run build && mocha test --require babel-core/register","clean":"rm -rf dist && rm -rf test/*package*/node_modules && git checkout test/*package*/package.json || exit 0","build":"babel --copy-files -d dist/ src/","prepare":"npm run build"},"bin":{"opencollective":"./dist/bin/opencollective.js","oc":"./dist/bin/opencollective.js"},"keywords":["opencollective","donate","donation","fundoss","npm"],"author":{"name":"Xavier Damman","email":"@xdamman"},"license":"MIT","bugs":{"url":"https://github.com/opencollective/opencollective-cli/issues"},"homepage":"https://github.com/opencollective/opencollective-cli#readme","dependencies":{"chalk":"1.1.3","inquirer":"3.0.6","minimist":"1.2.0","node-fetch":"1.6.3","opn":"4.0.2"},"devDependencies":{"babel-cli":"6.24.1","babel-core":"6.24.1","babel-polyfill":"6.23.0","babel-preset-es2015":"6.24.1","babel-preset-stage-0":"6.24.1","babel-register":"6.14.0","chai":"3.5.0","cross-env":"4.0.0","mocha":"3.2.0"},"gitHead":"301a4a2e1555ef716a9e6f8e2ee86e67e84add30","_id":"opencollective@1.0.1","_shasum":"6a0fa2f4553ba04f7fb72354a116854f964cdf30","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"xdamman","email":"xdamman@gmail.com"},"dist":{"shasum":"6a0fa2f4553ba04f7fb72354a116854f964cdf30","size":58804,"noattachment":false,"key":"/opencollective/-/opencollective-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opencollective/download/opencollective-1.0.1.tgz"},"maintainers":[{"name":"asood123","email":"asood123@yahoo.com"},{"name":"xdamman","email":"xdamman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/opencollective-1.0.1.tgz_1493821113035_0.3544170663226396"},"directories":{},"publish_time":1493821114155,"_cnpm_publish_time":1493821114155,"_hasShrinkwrap":false},"1.0.0":{"name":"opencollective","version":"1.0.0","description":"Official Command Line Interface for Open Collective","main":"index.js","repository":{"type":"git","url":"git+https://github.com/opencollective/opencollective-cli.git"},"scripts":{"test":"npm run clean && npm run build && mocha test --require babel-core/register","clean":"rm -rf dist && rm -rf test/*package*/node_modules && git checkout test/*package*/package.json","build":"babel --copy-files -d dist/ src/","prepare":"npm run build"},"bin":{"opencollective":"./dist/bin/opencollective.js","oc":"./dist/bin/opencollective.js"},"keywords":["opencollective","donate","donation","fundoss","npm"],"author":{"name":"Xavier Damman","email":"@xdamman"},"license":"MIT","bugs":{"url":"https://github.com/opencollective/opencollective-cli/issues"},"homepage":"https://github.com/opencollective/opencollective-cli#readme","dependencies":{"chalk":"1.1.3","inquirer":"3.0.6","minimist":"1.2.0","node-fetch":"1.6.3","opn":"4.0.2"},"devDependencies":{"babel-cli":"6.24.1","babel-polyfill":"6.23.0","babel-preset-es2015":"6.24.1","babel-preset-node6":"11.0.0","babel-preset-stage-0":"6.24.1","babel-register":"6.14.0","chai":"3.5.0","cross-env":"4.0.0","mocha":"3.2.0"},"gitHead":"81cdd6c3311c493da2e89969df7f6ff22353e3b9","_id":"opencollective@1.0.0","_shasum":"db7a842b5d9f01a73082ff5f1f456158e92b57fc","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"xdamman","email":"xdamman@gmail.com"},"dist":{"shasum":"db7a842b5d9f01a73082ff5f1f456158e92b57fc","size":64973,"noattachment":false,"key":"/opencollective/-/opencollective-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opencollective/download/opencollective-1.0.0.tgz"},"maintainers":[{"name":"asood123","email":"asood123@yahoo.com"},{"name":"xdamman","email":"xdamman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/opencollective-1.0.0.tgz_1493648908577_0.6249046067241579"},"directories":{},"publish_time":1493648909177,"_cnpm_publish_time":1493648909177,"_hasShrinkwrap":false}},"readme":"# opencollective-cli\n![](https://ci.appveyor.com/api/projects/status/5mf75q34cpr74s53?svg=true)\n\nCommand Line Interface for Open Collective.\n\n## Install\n\n    $ npm install -g opencollective\n    \nThis will populate a `opencollective` (and its shortcut `oc`) as a command line.\n\nYou can also add this as a dependency in your `package.json` to automatically show the `postinstall` donate message:\n\n    $ npm install --save opencollective\n    \nThen run\n\n    $ opencollective setup\n\n\n## Commands\n\n    $ opencollective [collective] [info|stats]\n    \nShows the latest stats of the collective (number of contributors, number of backers, annual budget and current balance).\n\n![](https://cl.ly/1n2u281p2o1k/Screen%20Shot%202017-05-01%20at%204.41.58%20PM.png)\n\n    $ opencollective [collective] donate [amount] [frequency]\n\nOpens the donate page of your collective. E.g. $ opencollective webpack donate 5 monthly\n\n    $ opencollective postinstall [--plain]\n    \nReads the details of your collective in the `package.json` of the current directory and invite the user to donate after installing your package.\nAdd this command in the `postinstall` script of your `package.json`.\n\n![](https://cl.ly/0u2a0z0Y3X37/Screen%20Shot%202017-03-24%20at%202.37.46%20PM.png)\n\nIf you add the `--plain` option, it won't show any emoji and ascii art (better for old terminals).\n\n    $ opencollective setup\n\nInteractive setup to add your collective info into your `package.json` and add the backers/sponsors badge and avatars in your `README.md`.\n\n\n## Coming soon\n\n    $ opencollective login\n    \n    $ opencollective logout\n    \n    $ opencollective cc | billing\n    \n    $ opencollective cc ls\n    $ opencollective cc add\n    $ opencollective cc rm\n    \n    $ opencollective apply [github_repo_url]\n    \n    $ opencollective show <collective>\n    $ opencollective open <collective>\n    \n    $ opencollective ls // list the collectives you are contributing to.\n\n    \nStop your contribution to <collective>. Warning: may make someone sad somewhere on this planet.\n\n## Credits\n\nShamelessly inspired by the excellent [now-cli](https://github.com/zeit/now-cli)","_attachments":{},"homepage":"https://github.com/opencollective/opencollective-cli#readme","bugs":{"url":"https://github.com/opencollective/opencollective-cli/issues"},"license":"MIT"}