You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

142 lines
4.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
  1. {
  2. "name": "github-calendar",
  3. "version": "2.2.6",
  4. "description": "Embed your GitHub contributions calendar anywhere.",
  5. "main": "lib/index.js",
  6. "directories": {
  7. "example": "example"
  8. },
  9. "scripts": {
  10. "test": "echo \"Error: no test specified\" && exit 1",
  11. "release": "dist-it lib/index.js github-calendar.min.js",
  12. "build": "dist-it lib/index.js github-calendar.min.js --no-uglify --no-commit"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "git+ssh://git@github.com/Bloggify/github-calendar.git"
  17. },
  18. "keywords": [
  19. "github",
  20. "calendar",
  21. "embed"
  22. ],
  23. "author": "Bloggify <support@bloggify.org> (https://bloggify.org)",
  24. "contributors": [
  25. "Evan Palmer <evjpalmer@gmail.com> (http://evanpalmer.net)",
  26. "Francesco Tonini <francescoantoniotonini@gmail.com> (https://francescotonini.it)",
  27. "Miroslav Vidovic <miroslav-vidovic@hotmail.com>",
  28. "Mike Roibu <mike@codingden.net>",
  29. "Rohit Rathi <rathirohitg1997@gmail.com> (https://rathirohit.github.io)"
  30. ],
  31. "license": "MIT",
  32. "bugs": {
  33. "url": "https://github.com/Bloggify/github-calendar/issues"
  34. },
  35. "homepage": "https://github.com/Bloggify/github-calendar#readme",
  36. "dependencies": {
  37. "add-subtract-date": "^1.0.15",
  38. "elly": "^1.1.11",
  39. "formatoid": "^1.2.4",
  40. "github-calendar-parser": "^1.1.12"
  41. },
  42. "blah": {
  43. "example": [
  44. {
  45. "code": {
  46. "language": "html",
  47. "content": [
  48. "<!-- Include the library. -->",
  49. "<script",
  50. " src=\"https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js\">",
  51. "</script>",
  52. "",
  53. "<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->",
  54. "<link",
  55. " rel=\"stylesheet\"",
  56. " href=\"https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css\"",
  57. "/>",
  58. "",
  59. "<!-- Prepare a container for your calendar. -->",
  60. "<div class=\"calendar\">",
  61. " <!-- Loading stuff -->",
  62. " Loading the data just for you.",
  63. "</div>",
  64. "",
  65. "<script>",
  66. " GitHubCalendar(\".calendar\", \"your-username\");",
  67. "",
  68. " // or enable responsive functionality:",
  69. " GitHubCalendar(\".calendar\", \"your-username\", { responsive: true });",
  70. "",
  71. " // Use a proxy",
  72. " GitHubCalendar(\".calendar\", \"your-username\", {",
  73. " proxy (username) {",
  74. " return fetch(`https://your-proxy.com/github?user=${username}`)",
  75. " }",
  76. " }).then(r => r.text())",
  77. "</script>"
  78. ]
  79. }
  80. },
  81. {
  82. "p": "[Here](https://bloggify.github.io/github-calendar/example/) you can see this example in action."
  83. }
  84. ],
  85. "description": [
  86. {
  87. "p": "Everybody<sup><sup>well, haters gonna hate</sup></sup> loves GitHub and everybody loves stats. So, why not making the GitHub contributions calendar available for being embeded in your web pages? Now [you can](https://bloggify.github.io/github-calendar/example). :tada:"
  88. },
  89. {
  90. "p": "[![](https://i.imgur.com/tJjRpuN.png)](https://bloggify.github.io/github-calendar/example)"
  91. }
  92. ],
  93. "title": "github-calendar.js",
  94. "related": {
  95. "ul": [
  96. "github-profile-languages",
  97. "github-org-members.js",
  98. "gh-contributions",
  99. "github-emojify",
  100. "github-stats",
  101. "github-labeller",
  102. "cli-gh-cal",
  103. "gh-destroy",
  104. "ship-release",
  105. "github-calendar-legend",
  106. "github-pr-branch-links",
  107. "github-emoji-form-submit",
  108. "gh-repeat",
  109. "gh-repos",
  110. "github-old-header",
  111. "gh.js",
  112. "ghcal",
  113. "sort-github-user-repos",
  114. "github-calendar-parser",
  115. "gh-notifier",
  116. "octimatch",
  117. "github-portfolio",
  118. "gh-polyglot",
  119. "cli-github",
  120. "github-calendar",
  121. "git-stats",
  122. "repository-downloader",
  123. "github-colors"
  124. ]
  125. }
  126. },
  127. "files": [
  128. "bin/",
  129. "app/",
  130. "lib/",
  131. "dist/",
  132. "src/",
  133. "scripts/",
  134. "resources/",
  135. "menu/",
  136. "cli.js",
  137. "index.js",
  138. "bloggify.js",
  139. "bloggify.json",
  140. "bloggify/"
  141. ]
  142. }