A WIP NHS.UK of the GOV.UK Prototype Rig.
- Node.js v20
-
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.
To automatically refresh the browser upon updating a file, use npm run dev.
To lint JavaScript and CSS files, use npm run lint.
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.
If you’ve got an idea or suggestion, please create a GitHub issue.