It's just example page which uses Browserify for modularity. The goal is to get and transform external data, to show in few tabs. It uses only VanillaJS for demo purposes.
To prepare development environment you need only to fire npm install
and run npm install -g grunt grunt-cli
to have Grunt installed globally.
I am using here JSHint & JSCS for JavaScript and LessLint for LESS files. You can run all linting procedures by grunt lint
command.
Everything is running by Jasmine. All tests are in test/spec
directory and have same structure as src/js
. It can be run by grunt test
command and you can test coverage by grunt html-coverage
, report will be put to coverage
directory.
There is prepared simple server, which you can start by grunt server
command and it will be available at http://localhost:8000
. To have live reload, run grunt server:live
combining it with grunt watch
which will detect code changes.
Run grunt build
command to make production code, which will be available as code in dist
folder.