ZCOM
Create and share React components
Setup
npm install -g zcom
Create a component
zcom create my-component
Create a internal component (inside a project)
zcom create my-component -i [componentsDir]
Dev (Storybook)
zcom dev
Port can be setted using PORT
environment var.
Static files can be served from /statics/
directory.
Run test (watch mode)
zcom test
Build
zcom build
Version patch, build and publish to npm
zcom pap
Build static version of storybook
zcom build-storybook
Build storybook and serve it (by ngrok)
zcom serve