diff --git a/cli/package.json b/cli/package.json index 58f77c1..8f9f6b8 100644 --- a/cli/package.json +++ b/cli/package.json @@ -31,14 +31,20 @@ "koa-router": "^7.4.0", "koa-static": "^5.0.0", "open": "^0.0.5", + "opencollective-postinstall": "^2.0.2", "serve-handler": "^5.0.8" }, "scripts": { "build-site": "cd .. && cross-env REACT_APP_GIT_PROVIDER=cli yarn build && rm -fr cli/site/ && cp -r build/ cli/site/", "build": "yarn build-site", - "ls-package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz" + "ls-package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz", + "postinstall": "opencollective-postinstall" }, "devDependencies": { "cross-env": "^5.2.0" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/git-history" } } diff --git a/cli/readme.md b/cli/readme.md index dffd23f..1051691 100644 --- a/cli/readme.md +++ b/cli/readme.md @@ -18,3 +18,15 @@ or $ npm install -g git-file-history $ git-file-history path/to/file.ext ``` + +### 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/git-history#sponsor)] + + + +### Backers + +Thank you to all our backers! ๐Ÿ™ [[Become a backer](https://opencollective.com/git-history#backer)] + + diff --git a/cli/yarn.lock b/cli/yarn.lock index ba3ce01..0c3d9e2 100644 --- a/cli/yarn.lock +++ b/cli/yarn.lock @@ -427,6 +427,11 @@ open@^0.0.5: resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc" integrity sha1-QsPhjslUZra/DcQvOilFw/DK2Pw= +opencollective-postinstall@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" + integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" diff --git a/package.json b/package.json index d39a096..943efba 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "diff": "^4.0.1", "js-base64": "^2.5.1", "netlify-auth-providers": "^1.0.0-alpha5", + "opencollective-postinstall": "^2.0.2", "prismjs": "^1.15.0", "react": "^16.8.4", "react-dom": "^16.8.4", @@ -25,6 +26,7 @@ "test-cra": "react-scripts test", "test": "run-s test-prettier test-cra", "eject": "react-scripts eject", + "postinstall": "opencollective-postinstall", "storybook": "start-storybook -p 9009 -s public", "build-storybook": "build-storybook -s public" }, @@ -46,5 +48,9 @@ "babel-loader": "8.0.4", "npm-run-all": "^4.1.5", "prettier": "^1.16.4" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/git-history" } } diff --git a/public/index.html b/public/index.html index 57445cf..e1647d8 100755 --- a/public/index.html +++ b/public/index.html @@ -14,6 +14,10 @@ homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> +