This project is was a skeleton for a typical NodeJS application. Now it's been expanded
to be an Express hosted Angular single page application.
This project contains a whole bunch of things you can work on for the Rabbiteer program :)
- Node
- git clone https://github.com/RetroRabbit/rabbiteer-2016.git
- Navigate into folder and run
npm install
- Start the site by running
npm start
(Or just press F5 in VS Code).
- Code linter - eslint
- Test runner - mocha
- Test coverage checker - istanbul
- Task manager - gulp
Pre-commit hook- JsDoc generation - jsdoc
- ES6 Support(ECMA-262, Edition 5) - babel
- Codeclimate integration codeclimate
- TravisCI integration travis-ci
- Editor Config editorconfig
- List all available tasks using
gulp help
npm run
command - Javascript intellisense using Typings
- Express hosting Angular single page application
- Sass Stylesheets downcompiling to css
- Clientside javascript using Browserify
- Dev support including watches for css and js, and LiveReload for rapid dev
npm run lint
Code that will be validated:
- all *.js files in src folder
- all *.js files in test folder
- all *.js files in www folder
- gulpfile.js
npm run coverage
Test cases stored in files test/**/*.spec.js will be run only
Coverage reports will be generated and stored in folder build/coverage
npm run jsdoc
Documentation will be generated for *.js files from src folder and stored in folder build/jsdoc
Since nodejs doesn't fully support all ES6 features source code should be compiled.
npm run build
Source code in src folder will be compiled and stored in folder build/source
gulp
# or
gulp build
The task gulp build will be run automatically.
npm run