tagliatelle-icons v2.3.7
Usage
npm i tagliatelle-components -DDevelopment
.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 svgrFor 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
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago