mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-15 06:04:17 +08:00
077d40561a
* feat: add PAT monitoring functions This commit adds two monitoring functions that can be used to check whether the PATs are functioning correctly: - status/up: Returns whether the PATs are rate limited. - status/pat-info: Returns information about the PATs. * feat: add shields.io dynamic badge json response This commit adds the ability to set the return format of the `/api/status/up` cloud function. When this format is set to `shields` a dynamic shields.io badge json is returned. * feat: add 'json' type to up monitor * feat: cleanup status functions * ci: decrease pat-info rate limiting time * feat: decrease monitoring functions rate limits * refactor: pat code * feat: add PAT monitoring functions This commit adds two monitoring functions that can be used to check whether the PATs are functioning correctly: - status/up: Returns whether the PATs are rate limited. - status/pat-info: Returns information about the PATs. * feat: add shields.io dynamic badge json response This commit adds the ability to set the return format of the `/api/status/up` cloud function. When this format is set to `shields` a dynamic shields.io badge json is returned. * feat: add 'json' type to up monitor * feat: cleanup status functions * ci: decrease pat-info rate limiting time * feat: decrease monitoring functions rate limits * refactor: pat code * test: fix pat-info tests * Update api/status/pat-info.js Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com> * test: fix broken tests * chore: fix suspended account * chore: simplify and refactor * chore: fix test * chore: add resetIn field --------- Co-authored-by: Anurag <hazru.anurag@gmail.com>
66 lines
2.1 KiB
JSON
66 lines
2.1 KiB
JSON
{
|
|
"name": "github-readme-stats",
|
|
"version": "1.0.0",
|
|
"description": "Dynamically generate stats for your GitHub readme",
|
|
"keywords": [
|
|
"github-readme-stats",
|
|
"readme-stats",
|
|
"cards",
|
|
"card-generator"
|
|
],
|
|
"main": "src/index.js",
|
|
"type": "module",
|
|
"homepage": "https://github.com/anuraghazra/github-readme-stats",
|
|
"bugs": {
|
|
"url": "https://github.com/anuraghazra/github-readme-stats/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/anuraghazra/github-readme-stats.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
|
|
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
|
|
"test:update:snapshot": "node --experimental-vm-modules node_modules/jest/bin/jest.js -u",
|
|
"test:e2e": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.e2e.config.js",
|
|
"theme-readme-gen": "node scripts/generate-theme-doc",
|
|
"preview-theme": "node scripts/preview-theme",
|
|
"close-stale-theme-prs": "node scripts/close-stale-theme-prs",
|
|
"generate-langs-json": "node scripts/generate-langs-json",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"prepare": "husky install"
|
|
},
|
|
"author": "Anurag Hazra",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@actions/core": "^1.9.1",
|
|
"@actions/github": "^4.0.0",
|
|
"@testing-library/dom": "^8.17.1",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@uppercod/css-to-object": "^1.1.1",
|
|
"axios-mock-adapter": "^1.21.2",
|
|
"color-contrast-checker": "^2.1.0",
|
|
"hjson": "^3.2.2",
|
|
"husky": "^8.0.0",
|
|
"jest": "^29.0.3",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"js-yaml": "^4.1.0",
|
|
"lint-staged": "^13.0.3",
|
|
"lodash.snakecase": "^4.1.1",
|
|
"parse-diff": "^0.7.0",
|
|
"prettier": "^2.1.2"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.24.0",
|
|
"dotenv": "^8.2.0",
|
|
"emoji-name-map": "^1.2.8",
|
|
"github-username-regex": "^1.0.0",
|
|
"upgrade": "^1.1.0",
|
|
"word-wrap": "^1.2.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,md}": "prettier --write"
|
|
}
|
|
}
|