Commands
Command | Description |
---|---|
npm start | start storybook sandbox |
npm run dev | development build (auto-rebuilding). Usefull together with npm link |
npm run build | production build |
npm run generate | create new component with boilerplate (js, scss, story) |
npm run build-storybook | build ready to deploy storybook |
Release new version
To get updates from dependent project, you should upload new version to npm registry. After committing some changes (bug-fixes, new components...) you should run:
-
npm version patch | minor | major
more... npm publish
Then, you can get new version in dependents by running npm update ns-otp-ui