tagliatelle-icons v2.3.7
Usage
npm i tagliatelle-components -D
Development
.env include ROOT_INPUT_DIR=src/components
for build
To create a new icon add your *.svg file to the assets folder and run the following command.
npm run svgr
For logos run
npm run svgr -- --isLogo="true" --useCurrentColor="false"
This script will create a new folder with two files:
- component.js
- component.stories.js
Run npm run start
to launch Storybook on the browser at http://localhost:6006/.
Updating the package
Bump packages
npm run clean && npm run bootstrap
Commit changes and run tests:
npm run chromatic
After the review has been approved, build the package with npm run build
and then publish it to npm with npm publish or lerna publish
.
For more info on lerna commands: https://github.com/lerna/lerna
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago