UNPKG

task-read

Version:

A node-task to read inputs into Records using any RecordIO interface.

41 lines (36 loc) 760 B
/* * prepare * http://github.com/node-task/prepare * * Copyright (c) 2013 Tyler Kellen, contributors * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { grunt.initConfig({ jshint: { all: [ 'Gruntfile.js', 'lib/*.js' ], options: { jshintrc: '.jshintrc' } }, nodeunit: { all: ['test/**/*.js'] }, watch: { files: [ 'lib/**/*', 'test/**/*' ], tasks: ['test'] } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-nodeunit'); grunt.registerTask('test', ['jshint', 'nodeunit']); grunt.registerTask('default', ['test']); };