fix(build): remove bowerify dependency

This commit is contained in:
Nico Rehwaldt 2014-03-14 17:52:30 +01:00
parent 514f51a031
commit cc1e91f37f
4 changed files with 13 additions and 11 deletions

View File

@ -46,7 +46,8 @@ module.exports = function(grunt) {
browserify: {
watch: false,
debug: false
debug: false,
transform: [ 'brfs' ]
}
},
unit: {
@ -66,8 +67,7 @@ module.exports = function(grunt) {
'<%= config.dist %>/bpmn.js': [ '<%= config.sources %>/**/*.js' ]
},
options: {
debug: true,
transform: [ 'debowerify' ]
debug: true
}
},
dist: {
@ -76,7 +76,7 @@ module.exports = function(grunt) {
},
options: {
debug: false,
transform: [ 'debowerify', 'uglifyify' ]
transform: [ 'uglifyify' ]
}
}
},

View File

@ -13,7 +13,6 @@
"modeler"
],
"dependencies": {
"snapsvg": "https://raw2.github.com/Nikku/Snap.svg/browserify-dev/dist/snap.svg.js",
"font-awesome": "~4.0.3"
},
"homepage": "http://bpmn.io",

View File

@ -41,10 +41,9 @@
"grunt-jasmine-node": "~0.1.0",
"load-grunt-tasks": "~0.3.0",
"uglifyify": "~1.1.0",
"debowerify": "0.6.0",
"browserify": "~3.32.1",
"browserify": ">3.0 && <3.30",
"karma": "~0.12.0",
"karma-browserify": "~0.0.6",
"karma-browserify": "~0.1.0",
"karma-jasmine": "~0.2.0",
"karma-chrome-launcher": "~0.1.2",
"karma-phantomjs-launcher": "~0.1.2",
@ -52,13 +51,14 @@
"xsd-schema-validator": "0.0.3",
"sax": "~0.6.0",
"lodash": "~2.4.0",
"eve": "0.4.1",
"brfs": "~1.0.0"
},
"dependencies": {
"moddle": "~0.0.1",
"moddle-xml": "~0.0.1",
"diagram-js": "~0.0.1",
"diagram-js": "~0.0.1"
},
"peerDependencies": {
"lodash": "~2.4.0"
}
}

View File

@ -17,6 +17,9 @@ module.exports = function(karma) {
browsers: [ 'Chrome' ],
// fixing slow browserify build
browserNoActivityTimeout: 30000,
singleRun: false,
autoWatch: true,
@ -24,7 +27,7 @@ module.exports = function(karma) {
browserify: {
debug: true,
watch: true,
transform: [ 'debowerify', 'brfs' ]
transform: [ 'brfs' ]
}
});
};