Skip to content

GOV.UK look and feel as a single easy import (at least that's the goal)

Notifications You must be signed in to change notification settings

hmcts/look-and-feel

Repository files navigation

Look and Feel

Greenkeeper badge

Build Status npm (scoped) Codacy grade

GOV.UK look and feel as a single easy import (at least that's the goal).

Usage

To use look-and-feel first add it to your package.json:

yarn add @hmcts/look-and-feel

Then configure it in your app.js:

const express = require('express');
const app = express();
...
const lookAndFeel = require('@hmcts/look-and-feel');
lookAndFeel.configure(app);
...

Documentation

All documentation is stored in the [docs] folder.

Verification

Run tests:

yarn test

Run Eslint:

yarn lint

Check for Vulnerabilities:

yarn audit