Files
taimed/node_modules/testswarm/Gruntfile.js
2025-07-24 17:21:45 +08:00

16 lines
350 B
JavaScript

module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.initConfig({
pkg: "<json:package.json>",
jshint: {
options: grunt.file.readJSON( ".jshintrc" ),
files: ["Gruntfile.js", "lib/**/*.js", "sample-test.js"]
}
});
grunt.registerTask( "test", ["jshint"] );
grunt.registerTask( "default", "test" );
};