Files
dynamic-badges-action/package.json
Rúnar Berg a2d3829b14 Add save svg-badge directly to gist
This adds the posibility of saving an SVG badge generated by the same
shields.io dirictly to the gist. Instead of prepering a JSON file to
be sent to their service, we use their library directly, which outputs
an SVG file that we can save to the user’s gist.

Filenames ending in `.svg` will use this library automatically.

Additionally there is a major refactoring where the older `node:http`
library has been swapped out for `fetch`.

Also swap from node 16 to node 20

fixes #24
2023-10-05 08:29:45 -07:00

26 lines
708 B
JSON

{
"name": "dynamic-badges-action",
"version": "1.5.0",
"description": "A GitHub Action which uses shields.io to create custom badges and uploads the to a gist.",
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Schneegans/dynamic-badges-action.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Schneegans/dynamic-badges-action/issues"
},
"homepage": "https://github.com/Schneegans/dynamic-badges-action#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"badge-maker": "^3.3.1"
}
}