nhsuk-prototype-rig
v0.4.1
Published
Rapidly create prototypes of NHS.UK services
Downloads
133
Readme
NHS.UK Prototype Rig
A WIP NHS.UK of the GOV.UK Prototype Rig.
Requirements
- Node.js v20
Installation
Clone this repository:
git clone [email protected]:x-govuk/nhsuk-prototype-rig.git
Install the dependencies:
npm install
Start the application:
npm start
You can change the service name by changing the prototype.serviceName
value in package.json
.
By default, the rig expects templates to use the .html
file extension. You can change this by setting the prototype.templateExtension
value in package.json
.
Developing locally
To automatically refresh the browser upon updating a file, use npm run dev
.
To lint JavaScript and CSS files, use npm run lint
.
Releasing a new version
npm run release
This command will ask you what version you want to use. It will then publish a new version on NPM, create and push a new git tag and then generate release notes ready for posting on GitHub.
[!NOTE] Releasing a new version requires permission to publish packages to the
@x-govuk
organisation.
Contributing
If you’ve got an idea or suggestion, please create a GitHub issue.