This is the styleguide app to document all the components and patterns for Namely.
- Clone the repo and
cdinto the directory - Install dependencies
$ npm install
$ npm install -g karma-cli
$ gem install scss-lint- Serve app
$ npm startTo serve on a port other than 8080:
$ gulp --port 8081To run test suite once:
$ npm testTo keep test suite running and watching:
$ karma startWith Chrome as browser (recommended):
karma start --browsers ChromeTo create the main js and css file that are to be used by Namely and other properties:
$ npm run compileThis runs every component found in src/js/components/ through Babel and places it in the dist/ directory, including any sub-directories. Then it grabs the base namely-ui module from lib/namely-ui.js to run that through Babel and place it in dist/ as well. Finally, it grabs lib/namely-ui.scss, compiles it to css, autoprefixes, and minifies it before placing it in dist/.