Reusable front-end components and styles to build digital policing products and services.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
To run the pattern library you will need:
To install the pattern library, first clone the repo. Then install the dependencies using Yarn.
$ git clone https://github.com/policedigitalservices/pds-frontend.git
$ cd pds-frontend
$ npm install
You can now run a local copy by running:
$ npm run start
Use ESLint and Stylelint to lint the code base.
$ npm run lint
To build the Pattern Library, run:
$ npm ci
$ npm run build