zombies-components
v0.1.0
Published
Bootstrap react library
Downloads
2
Readme
React Library Boilerplate :watch:
Use to save time building React component libraries.
Install
yarn add zombies-components
Env
$ NEXT_PUBLIC_GRAPHQL_URI=... # Graphql Server
Available commands 🔧
$ build # Run the application blundle using the Rollup configuration file 🚀
$ commit # Helper to write conventional commits 🐶
$ release # Generates a new release with standard-version 🐗
$ storybook # Runs Storybook in development mode 📗
$ build-storybook # Build Storybook as a static web application 📕
$ test # Execute unit tests 🎯
Tip for local development using yalc
Yalc provides "Better workflow than npm | yarn link for package authors."
See the https://github.com/wclr/yalc.
Install globaly
$ yarn global add yalc
Publish
$ yalc publish
Link to your project
$ yalc link <my-package>
After making changes to the library, run:
$ yalc push
References
https://www.pluralsight.com/guides/install-npm-packages-from-gitgithub How to Distribute a Pattern Library as an npm Package from a Private Git Repo