Dash
Installation
npm install -g gulp bower jest-cli browserify
./frontendbuild.sh
Testing
npm test
Jest is used. Tests are located in __test__
directories in src
.
Developing
After you've set up devdash
so that http://localhost:8000 is correctly serving DevDash, you may use the following commands:
npm test
to run ESLint and Jest tests.gulp build
process source files and dump them intodist/
for production use anddev/
for dev use.gulp build --watch
to monitor JS/Less files and automatically process them when changed.
Build
- Run
gulp
to run tests and build everything (it runsnpm test
andgulp build
from above).