UNPKG

canvas-particle-network

Version:

Simple animated particle network using Canvas and JavaScript

29 lines (26 loc) 718 B
module.exports = function (grunt) { require('load-grunt-tasks')(grunt); // Project configuration. grunt.initConfig({ eslint: { options: { configFile: '.eslintrc', format: (grunt.option('o') === undefined) ? 'stylish' : 'html', outputFile: (grunt.option('o') === undefined) ? '' : 'report.html' }, target: ['particle-network.js', 'Gruntfile.js'] }, uglify: { options: { mangleProperties: true, reserveDOMProperties: true, exceptionsFiles: ['mangleExceptions.json'] }, dist: { files: { 'particle-network.min.js': ['particle-network.js'] } } } }); };