Change readme order

This commit is contained in:
Rodrigo Pombo 2019-03-17 02:19:19 -03:00
parent b64ed7974c
commit f92092a6dc
5 changed files with 33 additions and 23 deletions

View File

@ -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"
}
}

View File

@ -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"

View File

@ -15,8 +15,6 @@
"react-scripts": "2.1.3",
"react-swipeable": "^4.3.2",
"react-use": "^5.2.2",
"workerize-loader": "^1.0.4",
"opencollective": "^1.0.3",
"rebound": "^0.1.0",
"workerize-loader": "^1.0.4"
},
@ -55,4 +53,4 @@
"type": "opencollective",
"url": "https://opencollective.com/git-history"
}
}
}

View File

@ -5,8 +5,6 @@
</div>
# [Git History](https://githistory.xyz)
[![Backers on Open Collective](https://opencollective.com/git-history/backers/badge.svg)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/git-history/sponsors/badge.svg)](#sponsors)
Quickly browse the history of any GitHub ([GitLab and Bitbucket
coming soon](https://github.com/pomber/git-history/issues/14)) file:
@ -21,9 +19,9 @@ coming soon](https://github.com/pomber/git-history/issues/14)) file:
## Browser Extensions
You can also add an `Open in Git History` button to GitHub with the [Chrome](https://chrome.google.com/webstore/detail/github-history-browser-ex/laghnmifffncfonaoffcndocllegejnf) and [Firefox](https://addons.mozilla.org/firefox/addon/github-history/) extensions.
You can also add an `Open in Git History` button to GitHub, GitLab and Bitbucket with the [Chrome](https://chrome.google.com/webstore/detail/github-history-browser-ex/laghnmifffncfonaoffcndocllegejnf) and [Firefox](https://addons.mozilla.org/firefox/addon/github-history/) extensions.
Or you can use this bookmarklet([?](https://en.wikipedia.org/wiki/Bookmarklet)):
<details><summary>Or you can use a bookmarklet.</summary>
```javascript
javascript: (function() {
@ -38,6 +36,8 @@ javascript: (function() {
})();
```
</details>
## [CLI](https://github.com/pomber/git-history/tree/master/cli)
There's also a command line version of Git History that works with any local git repo:
@ -55,18 +55,11 @@ $ npm install -g git-file-history
$ git-file-history path/to/file.ext
```
## Credits
### Sponsors
Based on these amazing projects:
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)]
- [Prism](https://github.com/PrismJS/prism) by [Lea Verou](https://twitter.com/leaverou)
- [jsdiff](https://github.com/kpdecker/jsdiff) by [Kevin Decker](https://twitter.com/kpdecker)
- [Night Owl](https://github.com/sdras/night-owl-vscode-theme) by [Sarah Drasner](https://twitter.com/sarah_edo)
### Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<img src="https://opencollective.com/git-history/contributors.svg?width=890&button=false" />
<a href="https://opencollective.com/git-history/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>
### Backers
@ -74,16 +67,19 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
<a href="https://opencollective.com/git-history#backers" target="_blank"><img src="https://opencollective.com/git-history/backers.svg?width=890"></a>
### Sponsors
### Contributors
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)]
This project exists thanks to all the people who contribute.
<img src="https://opencollective.com/git-history/contributors.svg?width=890&button=false" />
<a href="https://opencollective.com/git-history/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>
### Credits
Based on these amazing projects:
- [Prism](https://github.com/PrismJS/prism) by [Lea Verou](https://twitter.com/leaverou)
- [jsdiff](https://github.com/kpdecker/jsdiff) by [Kevin Decker](https://twitter.com/kpdecker)
- [Night Owl](https://github.com/sdras/night-owl-vscode-theme) by [Sarah Drasner](https://twitter.com/sarah_edo)
## License
MIT
This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with GitHub, or any of its subsidiaries or its affiliates.

View File

@ -8461,6 +8461,11 @@ onetime@^2.0.0:
dependencies:
mimic-fn "^1.0.0"
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==
opn@5.4.0, opn@^5.1.0, opn@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035"