traffic-fine-calculator
Version:
A leightweight JavaScript traffic fine calculator
31 lines (23 loc) • 534 B
JavaScript
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
mochacli: {
options: {
require: ['chai'],
reporter: 'nyan',
bail: true,
debug: true
},
all: ['test/*.js']
},
watch: {
mochacli: {
files: ['test/**/*.js', 'lib/**/*.js'],
tasks: 'mochacli'
}
}
});
grunt.loadNpmTasks('grunt-mocha-cli');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
};