A living documentation of the components used, essentially, on liip.ch. The goal of this documentation is to illustrate all the elements available and therefor have an overview of the style and behavior of the interface of the website.
- Clone the repository
git clone git@github.com:liip/styleguide.git- Run
npm installto install dependencies - Run
npm startto start the development server
Go to localhost:3000.
npm run buildWebpack bundle files in the dist folder which is then copied over to the build folder where Fractal exports the documentation. We have two different folder to be able to include dist within the npm package while ignoring the build.
Bump the version in package.json, update the Changelog, build, commit, tag, push, publish to npm repository and deploy automatically:
npm run releasePackage lives at npmjs.com/package/@liip/styleguide. Documentation is deployed to styleguide.liip.ch.
Follow the Angular commit guidelines to help generating a clean and readable Changelog.
Use issues to report anything, from bugs to feature requests.
To contribute to this project, open a pull request.
If you make changes in the JavaScript, setup EsLint in your editor or run npm run lint to ensure consistency.
You might be interested in the coding standards applied to this project.