Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

GOV.UK Prototype Kit documentation site, based on the Design System

License

Notifications You must be signed in to change notification settings

alphagov/govuk-prototype-kit-docs-investigation

Repository files navigation

GOV.UK Prototype Kit Documentation

Run locally

You'll need Git and Node.js installed to get this project running.

Note: You will need the active LTS (Long-term support) Node.js version for this project (as specified in .nvmrc)

Using nvm (optional)

If you work across multiple Node.js projects there's a good chance they require different Node.js and npm versions.

To enable this we use nvm (Node Version Manager) to switch between versions easily.

  1. install nvm
  2. Run nvm install in the project directory (this will use .nvmrc)

Install npm dependencies

npm install

Start a local server

This will build sources, serve pages and watch for changes.

npm start

Build

Build ./src to ./deploy/public

npm run build

Run the Sass linter

We are using the sass-lint plugin to lint the Sass files in source/stylesheets. You can run the linter from command line by running:

npm run lint

About

GOV.UK Prototype Kit documentation site, based on the Design System

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published