0.2.0 • Published 2 years ago

hubees-icons v0.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Hubees Icons

How to use

In the root of the project, copy and past the ".env.example" file and rename it to ".env".

Now let's get the Figma Token, go to this link: https://www.figma.com/settings, and follow the instructions as the gif below.

programmatic-export

Once you got that, paste in the .env file on "FIGMA_TOKEN" parameter.

Now let's get the file you are using, once you open the figma file, you can get that on the URL: image

Go back to your ".env" file and paste it on "FILE_ID" parameter.

Your file should be like that: image

All right, now we just need to run the script to get the icons.

Available scripts

image

npm run clean: Will delete all local icons;
npm run export: Will download locally all the icons from the pages solid and outline;
npm run rename: Will rename the icons, removing the extra prefix that figma bring by default, and add the prefix "hubees-";
npm run build: Will run clean, export and rename at once;
npm run np: This command help to create a npm version after run build;
npm run release: This command does everything needed to build and publish the icons lib. But to use it, you need to have git and npm access.
0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago