-
Run
git add .
thengit commit -m <your_commit_message>
thengit push
to push your changes to GitHub before publishing your code -
Change the version number in package.json, on the command line, in the package root directory, run the following command, replacing <update_type> with one of the semantic versioning release types (major, minor, or patch):
npm version <update_type>
-
Run
npm run compile
in order to bundle your storybook app into the dist folder -
Run
npm publish
-
Go to your package page (https://www.npmjs.com/package/employnet-react-components) to check that the package version has been updated.
employnet-react-components
1.3.3 • Public • PublishedDependencies (9)
Dev Dependencies (17)
- @babel/cli
- @babel/preset-env
- @babel/preset-react
- @storybook/addon-actions
- @storybook/addon-essentials
- @storybook/addon-interactions
- @storybook/addon-links
- @storybook/builder-webpack5
- @storybook/manager-webpack5
- @storybook/node-logger
- @storybook/preset-create-react-app
- @storybook/react
- @storybook/testing-library
- auto
- chromatic
- cross-env
- webpack
Package Sidebar
Install
npm i employnet-react-components
Weekly Downloads
1
Version
1.3.3
License
MIT
Unpacked Size
20.2 kB
Total Files
16