From 05337261ffb4abfb0fbbb9c775ccad0e28645692 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Wed, 22 Oct 2014 08:35:44 -0400 Subject: Begin rewrite for new API --- Gruntfile.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Gruntfile.js (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..34f8dc8 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,20 @@ +module.exports = function (grunt) { + + grunt.initConfig({ + jshint: { + all: ['lib/*.js', 'examples/*.js'] + }, + mochaTest: { + test: { + options: { + reporter: 'spec' + }, + src: ['tests/*.js'] + } + } + }); + + grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.loadNpmTasks('grunt-mocha-test'); + grunt.registerTask('default', ['jshint', 'mochaTest']); +}; -- cgit v1.2.3