UNPKG

sensor_tsl2561

Version:

A node.js-module for the TSL2561 light sensor

26 lines (22 loc) 748 B
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), "jsbeautifier": { files: ["*.js", "examples/**/*js", "test/**/*js"], options: {} }, jshint: { all: ['*.js', 'examples/**/*.js', 'test/**/*.js'] }, nodeunit: { all: ['test/nu_tests/*.js'] }, }); grunt.loadNpmTasks('grunt-jsbeautifier'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-nodeunit'); // Default task(s). grunt.registerTask('default', ['jsbeautifier', 'jshint', 'nodeunit']); //grunt.registerTask('default', ['jsbeautifier', 'nodeunit']); };