mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
⬆️ 2.10.1 🎉
This commit is contained in:
parent
988895afef
commit
41b2394ec2
1 changed files with 25 additions and 25 deletions
48
package.json
48
package.json
|
@ -3,7 +3,7 @@
|
||||||
"git-stats": "bin/git-stats"
|
"git-stats": "bin/git-stats"
|
||||||
},
|
},
|
||||||
"name": "git-stats",
|
"name": "git-stats",
|
||||||
"version": "2.10.0",
|
"version": "2.10.1",
|
||||||
"description": "Local git statistics including GitHub-like contributions calendars.",
|
"description": "Local git statistics including GitHub-like contributions calendars.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -224,32 +224,32 @@
|
||||||
"`git-stats --raw` outputs raw JSON format which can be consumed by other tools to generate results such as HTML files or images.",
|
"`git-stats --raw` outputs raw JSON format which can be consumed by other tools to generate results such as HTML files or images.",
|
||||||
"[`git-stats-html`](https://github.com/IonicaBizau/git-stats-html) interprets the JSON data and generates an HTML file. Example:",
|
"[`git-stats-html`](https://github.com/IonicaBizau/git-stats-html) interprets the JSON data and generates an HTML file. Example:",
|
||||||
{
|
{
|
||||||
"code": {
|
"code": {
|
||||||
"content": [
|
"content": [
|
||||||
"# Install git-stats-html",
|
"# Install git-stats-html",
|
||||||
"npm install -g git-stats-html",
|
"npm install -g git-stats-html",
|
||||||
"",
|
"",
|
||||||
"# Export the data from the last year (generate out.html)",
|
"# Export the data from the last year (generate out.html)",
|
||||||
"git-stats --raw | git-stats-html -o out.html",
|
"git-stats --raw | git-stats-html -o out.html",
|
||||||
"",
|
"",
|
||||||
"# Export data since 2015 (save the results in out.html)",
|
"# Export data since 2015 (save the results in out.html)",
|
||||||
"git-stats --since '1 January 2015' --raw | ./bin/git-stats-html -o out.html --big"
|
"git-stats --since '1 January 2015' --raw | ./bin/git-stats-html -o out.html --big"
|
||||||
],
|
],
|
||||||
"language": "sh"
|
"language": "sh"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"After we have the HTML file, we can generate an image file using [`pageres`](https://github.com/sindresorhus/pageres) by [**@sindresorhus**](https://github.com/sindresorhus/):",
|
"After we have the HTML file, we can generate an image file using [`pageres`](https://github.com/sindresorhus/pageres) by [**@sindresorhus**](https://github.com/sindresorhus/):",
|
||||||
{
|
{
|
||||||
"code": {
|
"code": {
|
||||||
"content": [
|
"content": [
|
||||||
"# Install pageres",
|
"# Install pageres",
|
||||||
"npm install -g pageres-cli",
|
"npm install -g pageres-cli",
|
||||||
"",
|
"",
|
||||||
"# Generate the image from HTML",
|
"# Generate the image from HTML",
|
||||||
"pageres out.html 775x250"
|
"pageres out.html 775x250"
|
||||||
],
|
],
|
||||||
"language": "sh"
|
"language": "sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue