sparsh-storybook v0.0.19
Contributing
Components
This components library was migrated from older storybook version, and hence you will find
many Component.stories.js
using older syntax for writing stories.
You should update older syntax to current style described in docs
Development
Install dependencies and run build
script.
Linting & Formatting
Use lint:script
to check for any linting errors and lint:fix
to automatically fix
them with eslint.
Use prettier
to format your code according to coding standard set in project.
Test Publishing
For testing publishing process, we can use verdaccio
a lightweight Node.js
private proxy registry tool. To start testing follow below steps
Install verdaccio
and start running it.
For uploading your package, you will need to create your account by running
npm login --registry https://localhost:4873
and enter the required information.
You can now publish this package by running
npm publish --registry http://localhost:4873
Git Configuration
git config core.ignorecase false