This template includes following libraries:
- lodash
- javascript
- moment
- grunt
- bootstrap
- mustache
- json2 for old browsers
- NodeJS
- NPM
- Bower
- Make
- Install Grunt globally
npm install -g grunt-cli
- Install node packages
npm install
- Install bower packages
bower install
- Run server
grunt
- Make a build
grunt build
- Lint code
grunt lint
- Run tests
./node_modules/karma/bin/karma start --single-run --browsers PhantomJS
You could also install karma globally:
npm install -g karma-cli
An then use karma like this:
karma start --single-run --browsers PhantomJS
- Make sure you have already installed Sublime Text Package Control.
- Press ⌘ + ⇧ + P.
- Type
jshint gutter
and pressenter
. - Once installed, restart sublime and open the file you want to lint.
- Press ⌘ + ⇧ + j to lint the file.
- Optionally you may be interested in lint your code while editing, to achive that go to Tools > JSHint > Set Plugin Options and set lint_on_edit to true.
- Gihub page is built grabbing contents from examples directory and creating gh-pages branch with that.
- To achive that just run:
make