Frontend global components used at NOTHS
This will compile static html components which will be available within
Global components are components which will be on most pages of the site.
These components should be as small as possible and not using any framework. This is to reduce the footprint on the consuming application.
The Styles toolkit is a pre-requisite to using the noths-global-components. This is mainly due to fonts. Having them as a static resource which can be browser cached is key to performance and caching of assets which don't change.
npm version major|minor|patch
Note: due to blocked pushing onto master this needs to be pushed onto a branch and merged in
Then publish the new version:
The global components currently support:
'iOS >= 8', 'last 2 versions', 'IE 9'
view browserl.ist to see exactly which browsers that includes
Tests are written in nightwatch
prerequisites: brew install chromedriver
run the tests via:
npm run test:features
We use simulado as our mock server for the functional tests and for mocking http calls in development.
Development mocks live here: