This repo is for documenting and showcasing the Lookbook.
$ npm install
$ npm startVisit site at localhost:8080. The site will rebuild on changes.
If you'd like to test local changes in the Lookbook in the website:
$ npm link ../lookbookIn another shell:
cd lookbook && npm startNow changes made in lookbook/src will be reflected immediately when reloading the Lookbook website window.
./script/deploy.shThis script will:
- Switch (or create) a local
gh-pagesbranch. - Install deps and build site.
- Force push to remote.
- Switch back to current branch.
The reason for building locally is that we're using private npm registries, which I can't be bothered setting up on GitHub at the moment.