UNPKG

device-manager

Version:

Detect information about a user's current device

37 lines (33 loc) 906 B
module.exports = function(grunt) { "use strict"; grunt.initConfig({ pkg: grunt.file.readJSON("package.json"), bt: { dist: 'dist', build: { files: { 'dist/device-manager.js': ['src/device-manager.js'] }, browserifyOptions: { standalone: 'DeviceManager' } }, min: { files: { 'dist/device-manager-min.js': ['dist/device-manager.js'] } }, banner: { files: ['dist/*'] }, tests: { mocha: { src: ['tests/*.js'] } } } }); grunt.loadNpmTasks('build-tools'); require("load-grunt-tasks")(grunt); grunt.loadNpmTasks('build-tools'); };