arrowdb
Version:
Appcelerator ArrowDB SDK for NodeJS
24 lines (20 loc) • 448 B
JavaScript
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
options: {
jshintrc: true
},
src: ['*.js','lib/**/*.js','test/**/*.js']
},
clean: {
pre: ['*.log'],
post: ['tmp']
}
});
// Load grunt plugins
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-clean');
// Register tasks
grunt.registerTask('default', ['clean:pre', 'jshint', 'clean:post']);
};