From f7df7d42d91cbc633de8569768843ec3ffbf5521 Mon Sep 17 00:00:00 2001 From: Stefan Lau Date: Sun, 23 Mar 2014 21:18:25 +0100 Subject: [PATCH] bump grunt-browserify version --- Gruntfile.js | 14 ++++++-------- package.json | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 851be4f..06ac5cc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -80,14 +80,12 @@ module.exports = function (grunt) { 'node_modules/lodash/dist/lodash.js:lodash', 'node_modules/backbone/backbone.js:backbone', 'node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.js:socket.io-client' - ], - aliasMappings: [ - { - cwd: 'lib/views/', - src: ['**/*.js'], - dest: 'lib/views/' - } - ], + ].concat(function () { + var files = grunt.file.expand({ cwd: __dirname }, 'lib/views/**/*.js'); + return files.map(function (file) { + return file + ':' + file.substr(0, file.lastIndexOf('.')); + }); + }()), noParse: [ 'jquery', 'lodash', diff --git a/package.json b/package.json index 47bf645..4d93a13 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "grunt-cli": "0.1.9", "grunt-contrib-copy": "0.5.0", "grunt-contrib-handlebars": "0.7.0", - "grunt-browserify": "1.3.1", + "grunt-browserify": "2.0.1", "handlebars": "1.0.12", "nodemailer": "0.5.3", "numeral": "1.5.2",