chore(build): update to new grunt-browserify

This commit is contained in:
Nico Rehwaldt 2014-03-31 15:54:45 +02:00
parent fdab2321e2
commit 779312b8b6
2 changed files with 16 additions and 8 deletions

View File

@ -56,16 +56,24 @@ module.exports = function(grunt) {
},
browserify: {
options: {
insertGlobalVars: [],
debug: true
browserifyOptions: {
builtins: false,
commondir: false
},
bundleOptions: {
detectGlobals: false,
ignoreMissing: true,
insertGlobalVars: [],
debug: true
}
},
modeler: {
files: {
'<%= config.dist %>/bpmn.js': [ '<%= config.sources %>/**/*.js' ]
'<%= config.dist %>/bpmn.js': [ 'shim/*.js', '<%= config.sources %>/**/*.js' ]
},
options: {
alias: [
'lodash',
'node_modules/lodash:lodash',
'<%= config.sources %>/main.js:bpmn',
'<%= config.sources %>/Model.js:bpmn/Model',
'<%= config.sources %>/Viewer.js:bpmn/Viewer',
@ -79,7 +87,7 @@ module.exports = function(grunt) {
},
options: {
alias: [
'lodash',
'node_modules/lodash:lodash',
'<%= config.sources %>/main.js:bpmn',
'<%= config.sources %>/Model.js:bpmn/Model',
'<%= config.sources %>/Viewer.js:bpmn/Viewer'

View File

@ -29,18 +29,18 @@
}
],
"devDependencies": {
"grunt": "~0.4.3",
"grunt": "^0.4.4",
"grunt-contrib-watch": "~0.5.0",
"grunt-contrib-connect": "~0.6.0",
"grunt-contrib-jshint": "~0.7.2",
"grunt-contrib-copy": "~0.5.0",
"grunt-browserify": "~1.3.0",
"grunt-contrib-uglify": "https://github.com/Nikku/grunt-contrib-uglify/archive/v0.4.0-195-fix.tar.gz",
"grunt-browserify": "~2.0.0",
"grunt-jsdoc": "~0.5.1",
"grunt-concurrent": "~0.4.0",
"grunt-karma": "~0.8.0",
"grunt-jasmine-node": "~0.1.0",
"load-grunt-tasks": "~0.3.0",
"uglifyify": "~1.1.0",
"browserify": ">3.0 && <3.30",
"karma": "~0.12.0",
"karma-browserify": "~0.1.0",