This is a boilerplate repository with basic files to start a Coding Dojo Section. It includes:
- Clone the repository on your machine with
git clone git@github.com:joaostein/kata-boilerplate.git
- Rename the file
rename.js
to whatever name is appropriate - Update the information on
package.json
file - Run
npm install
to install dev dependencies
After renaming the rename.js
file, make sure to exports your module and also require
it on your spec.js
file.
Run each command in individual terminal tabs:
gulp
-- to run the spec and lint tasks oncegulp runSpec
-- to run the spec task oncegulp jshint
-- to run the lint task once
To watch files for changes:
gulp test
-- to watchspec.js
file and runrunSpec
taskgulp lint
-- to watch all*.js
files and runjshint
task
Just write some code, save the file and see the automatically response (tests and linting) on terminal tabs.
MIT License Copyright © 2015 Joao Stein