Skip to content

RetroRabbit/rabbiteer-2016

Repository files navigation

build codeclimate test coverage npm dependencies npm dev dependencies

Rabbiteer 2016

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 :)

Prerequisites

  1. Node

Installation

  1. git clone https://github.com/RetroRabbit/rabbiteer-2016.git
  2. Navigate into folder and run npm install
  3. Start the site by running npm start (Or just press F5 in VS Code).

What is included

Linting

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

Running tests and generating code coverage report

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

Generating jsdoc

npm run jsdoc

Documentation will be generated for *.js files from src folder and stored in folder build/jsdoc

Compiling code - ES6 Support

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

Running all tasks

gulp
# or
gulp build

Pre-commit hook

This hook is invoked by git commit, and can be bypassed with --no-verify option.

The task gulp build will be run automatically.

Printing all available tasks and theirs arguments

npm run

About

Our playpen for the Rabbiteer Interns of 2016

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published