A styleguide / lightweight frontend framework for GovLab websites.
To use the styleguide in your project, simply run the following command in the base directory of your project:
npm i --save-dev govlab-styleguide
To develop the styleguide, clone the git repository, and run the following in the project directory:
npm in gulp
To deploy the living styleguide site to github pages run the following command:
NOTE: before publishing new versions of this package to npm, make sure you build the site (eg.
gulp build) in order to get the latest built dist css/js
For more info on how to maintain npm packages like this one check the NPM docs: https://docs.npmjs.com/getting-started/publishing-npm-packages
For more info on how to work with kss / kss-node, check out the docs.
Living documentation of the styleguide is on our gh-pages. Check it out!