12345678910111213141516171819202122232425 |
- 'use strict';
- module.exports = function(grunt) {
- // Project configuration.
- grunt.initConfig({
- nodeunit: {
- files: ['test/**/*_test.js'],
- },
- jshint: {
- options: {
- jshintrc: '.jshintrc'
- },
- all: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js']
- }
- });
- // Load plugins.
- grunt.loadNpmTasks('grunt-contrib-jshint');
- grunt.loadNpmTasks('grunt-contrib-nodeunit');
- // Default task.
- grunt.registerTask('default', ['jshint', 'nodeunit']);
- };
|