react-gui
Prerequisites
@pika/pack
Install globally @pika/pack
.
npm install -g @pika/pack
yarn
Install yarn
following the official instructions for your operating system.
Install all dependencies for development
yarn install --production=false
Scripts
Start (Dev)
Starts the web server with storybook
and watches for changes with HMR. Then go to http://localhost:6006 in a browser to see the running storybook
.
yarn start
yarn dev # an alias of yarn start
Build
Builds sources with @pika/pack
.
yarn build
Publish
Builds sources with @pika/pack
, adds a version tag locally and publish to npm.
You'll still need to push your git commits and tags to the remote origin.
pack publish
Build Storybook
Builds storybook
assets.
yarn build-storybook