Skip to content

Commit

Permalink
Fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Aug 17, 2020
1 parent 5b04058 commit 30461ab
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
3. Add the following secrets using the **New secret** button:

- **GH_TOKEN:** The GitHub token generated above.
- **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/yg/`**`387aeb084c3433e24a11b36660ba9937`**.
- **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/bokub/`**`387aeb084c3433e24a11b36660ba9937`**.
- **ALL_COMMITS:** Boolean value, If `true` it will count all commits instead of last year commits

4. Go to the **Actions** tab of your fork
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env node
'use strict';

require('dotenv').config();
const { GistBox } = require('gist-box');
const { userInfoFetcher, totalCommitsFetcher } = require('./fetch');
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
{
"name": "github-stats-box",
"version": "0.1.0",
"version": "0.1.1",
"description": "Update a gist to contain your GitHub stats",
"author": "bokub",
"license": "MIT",
"repository": "bokub/github-stats-box",
"main": "index.js",
"scripts": {
"prettier": "prettier --write **/*.{js,md,json,yml}"
},
"bin": {
"github-stats-box": "index.js"
},
"keywords": [
"gist",
"pinned",
"action",
"github",
"stats",
"box"
],
"dependencies": {
"axios": "^0.19.2",
"dotenv": "8.2.0",
Expand Down

0 comments on commit 30461ab

Please sign in to comment.