Skip to content

Commit

Permalink
fix(lib): convert source to TS to have bundle generate types file
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Kimball committed Mar 31, 2021
1 parent adbb18f commit 64fd00a
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 3 deletions.
Binary file modified fonts/Bullhorn-Glyphicons.eot
Binary file not shown.
Binary file modified fonts/Bullhorn-Glyphicons.ttf
Binary file not shown.
Binary file modified fonts/Bullhorn-Glyphicons.woff
Binary file not shown.
Binary file modified fonts/Bullhorn-Glyphicons.woff2
Binary file not shown.
File renamed without changes.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bullhorn/bullhorn-icons",
"version": "2.15.0",
"version": "2.16.0",
"description": "A font library that contains all the icon used by Bullhorn.",
"author": {
"company": "Bullhorn, Inc."
Expand All @@ -26,11 +26,12 @@
"type": "git",
"url": "https://github.com/bullhorn/bullhorn-icons"
},
"source": "index.js",
"source": "index.ts",
"main": "dist/index.js",
"exports": "./dist/index.modern.js",
"module": "dist/index.module.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"scripts": {
"build:icons": "icon-font-generator ./icons/*.svg -o ./fonts -n Bullhorn-Glyphicons -p bhi --htmltp ./templates/demo.hbs --csstp ./templates/css.hbs --htmlpath ./fonts/index.html",
"build:bundle": "microbundle",
Expand Down
2 changes: 1 addition & 1 deletion scripts/makeIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as path from "path";

/** Path to find the examples */
const iconPath = path.join("./icons/");
const outputSourceFilename = "index.js";
const outputSourceFilename = "index.ts";

const snakeToCamel = (str) =>
str
Expand Down

0 comments on commit 64fd00a

Please sign in to comment.