aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2014-10-22 08:35:44 -0400
committerBen Burwell <bburwell1@gmail.com>2014-10-22 08:35:44 -0400
commit05337261ffb4abfb0fbbb9c775ccad0e28645692 (patch)
tree973f24e72570cc4d721957e70adf51387c13598b /Gruntfile.js
parentc2d82325318085b89d255e84384651db680c0c97 (diff)
Begin rewrite for new API
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js20
1 files changed, 20 insertions, 0 deletions
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']);
+};