Transpiling nhsuk-react-components to govuk components.
p.s. Thanks NHSDigital team - this API is awesome.
This repository is responsible for downloading, transpiling and republishing nhsuk-react-components.
Current govuk react libraries try to follow the njks govuk-frontend api. It makes for ugly React code.
sh get-src.sh
Downloads and unzips the repository and moves things around.. tidies up after itself.. etcyarn build
transpiles with babel. It is doing a regex replacement of /nhsuk/ to govuk and building intolib/
to match the nhsuk-react-components api.npm publish
Publishing to github packages
This package does not provide styles. You must include govuk-frontend styles in your own project.