Created
August 18, 2016 15:13
-
-
Save matthamil/90c1c940753ad6b76f0bc3f771743953 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
browserify: { | |
'../dist/app.js': ['../js/quiz.js'] | |
}, | |
jshint: { | |
options: { | |
predef: [ "document", "console" ], | |
esnext: true, | |
globalstrict: true, | |
browserify: true | |
}, | |
files: ['../js/**/*.js'] | |
}, | |
watch: { | |
javascripts: { | |
files: ['../js/**/*.js'], | |
tasks: ['jshint', 'browserify'] | |
} | |
}, | |
jshintrc: './.jshintrc' | |
}); | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.registerTask('default', ['browserify', 'jshint', 'watch']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment