Skip to content

Commit

Permalink
Change readme order
Browse files Browse the repository at this point in the history
  • Loading branch information
pomber committed Mar 17, 2019
1 parent b64ed79 commit f92092a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 23 deletions.
8 changes: 7 additions & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
5 changes: 5 additions & 0 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -55,4 +53,4 @@
"type": "opencollective",
"url": "https://opencollective.com/git-history"
}
}
}
34 changes: 15 additions & 19 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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() {
Expand All @@ -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:
Expand All @@ -55,35 +55,31 @@ $ npm install -g git-file-history
$ git-file-history path/to/file.ext
```

## 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)
### 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. [[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

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/git-history#backer)]

<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.
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f92092a

Please sign in to comment.