Rizzo Next
Rizzo next is the evolution of Lonely Planet's pattern library.
The idea of a pattern library such as rizzo is to have common grounds between design and development. Pull out patterns from the design and implement them in a re-usable fashion across projects.
This repository contains common styles, and components as well as performance data, and unit tests.
NPM Tasks
npm test # Run unit tests
npm run lint # Lint code
npm run docs # Document code with ESDoc
Test
Run all the tests with...
npm test
To use watch mode...
npm run ci
Docs
Generate documentation locally with
npm run docs
Linting
Linting will be done locally before you commit via a pre-commit hook.
SCSS Linting
- Install scss_lint gem
- Run
npm install
to install new dependencies - Write your SCSS to conform with the rules in .scss-lint.yml (a proper styleguide will follow); view linters documentation
- Check your code; manually by running
npm run scsslint
or automatically via the precommit hook when yougit commit