Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.38 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.38 KB

JavaScript Coding Dojo Kata Boilerplate

This is a boilerplate repository with basic files to start a Coding Dojo Section. It includes:

Initial Setup

  1. Clone the repository on your machine with git clone [email protected]:joaostein/kata-boilerplate.git
  2. Rename the file rename.js to whatever name is appropriate
  3. Update the information on package.json file
  4. Run npm install to install dev dependencies

Getting Started

After renaming the rename.js file, make sure to exports your module and also require it on your spec.js file.

How to run tests and lint

Run each command in individual terminal tabs:

  • gulp -- to run the spec and lint tasks once
  • gulp runSpec -- to run the spec task once
  • gulp jshint -- to run the lint task once

To watch files for changes:

  • gulp test -- to watch spec.js file and run runSpec task
  • gulp lint -- to watch all *.js files and run jshint task

Just write some code, save the file and see the automatically response (tests and linting) on terminal tabs.

License

MIT License Copyright © 2015 Joao Stein