UNPKG

@nathanfaucett/parallel

Version:

parallel for the browser and node.js

32 lines (30 loc) 540 B
module.exports = function (grunt) { grunt.initConfig({ jsbeautifier: { files: [ "Gruntfile.js", "src/**/*.js", "test/**/*.js" ] }, jshint: { options: { es3: true, unused: true, curly: true, eqeqeq: true, expr: true, eqnull: true, proto: true }, files: [ "Gruntfile.js", "src/**/*.js", "test/**/*.js" ] } }); grunt.loadNpmTasks("grunt-jsbeautifier"); grunt.loadNpmTasks("grunt-contrib-jshint"); grunt.registerTask("default", ["jsbeautifier", "jshint"]); };