Skip to content

Commit

Permalink
Run the GOV.UK Prototype Kit locally
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Sep 5, 2023
1 parent cabede6 commit 788bdaf
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
36 changes: 36 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
".github/workflows/scripts",
"packages/govuk-frontend",
"packages/govuk-frontend-review",
"packages/govuk-prototype-kit-review",
"shared/*",
"docs/examples/*"
],
Expand Down
8 changes: 8 additions & 0 deletions packages/govuk-prototype-kit-review/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GOV.UK Prototype Kit review

This package is used to review the GOV.UK Prototype Kit using a development version of GOV.UK Frontend.

```shell
npm run create --workspace govuk-protoype-kit-review
npm run dev --workspace govuk-protoype-kit-review
```
20 changes: 20 additions & 0 deletions packages/govuk-prototype-kit-review/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"private": true,
"name": "@govuk-frontend/govuk-prototype-kit-review",
"description": "GOV.UK Prototype Kit review",
"engines": {
"node": "^18.12.0",
"npm": "^8.1.0 || ^9.1.0"
},
"license": "MIT",
"scripts": {
"precreate": "del-cli dist",
"create": "govuk-prototype-kit create dist",
"postcreate": "cd dist && npm link ../../govuk-frontend",
"dev": "cd dist && govuk-prototype-kit dev"
},
"devDependencies": {
"del-cli": "^5.0.0",
"govuk-prototype-kit": "^13.13.1"
}
}

0 comments on commit 788bdaf

Please sign in to comment.