Skip to content

Commit

Permalink
Add jsdelivr line in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Aug 28, 2020
1 parent 80a4839 commit c444141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const svgString = gradientBadge({
**Browser**

```html
<script src="https://cdn.jsdelivr.net/npm/gradient-badge@latest/dist/gradient-badge.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gradient-badge"></script>
<script>
var svgString = gradientBadge({
/* same as above */
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
],
"license": "MIT",
"main": "index.js",
"jsdelivr": "dist/gradient-badge.min.js",
"repository": "bokub/gradient-badge",
"reveal": true,
"prettier": "@bokub/prettier-config",
Expand Down

0 comments on commit c444141

Please sign in to comment.