⬆️ 2.10.1 🎉

This commit is contained in:
Ionică Bizău 2016-12-22 12:38:22 +02:00
parent 988895afef
commit 41b2394ec2
1 changed files with 25 additions and 25 deletions

View File

@ -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"
} }
} }
] ]
}, },
@ -283,4 +283,4 @@
"cli.js", "cli.js",
"index.js" "index.js"
] ]
} }