update gruntfile/karma
This commit is contained in:
parent
3f193dbb3a
commit
a9a332cd8f
|
@ -37,7 +37,8 @@ module.exports = function(grunt) {
|
||||||
copy: {
|
copy: {
|
||||||
dist: {
|
dist: {
|
||||||
files: {
|
files: {
|
||||||
'dist/gridstack.js': ['src/gridstack.js']
|
'dist/gridstack.js': ['src/gridstack.js'],
|
||||||
|
'dist/gridstack.jQueryUI.js': ['src/gridstack.jQueryUI.js'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -50,7 +51,9 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
dist: {
|
dist: {
|
||||||
files: {
|
files: {
|
||||||
'dist/gridstack.min.js': ['src/gridstack.js']
|
'dist/gridstack.min.js': ['src/gridstack.js'],
|
||||||
|
'dist/gridstack.jQueryUI.js': ['src/gridstack.jQueryUI.js'],
|
||||||
|
'dist/gridstack.all.js': ['src/gridstack.js', 'src/gridstack.jQueryUI.js']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,6 +19,7 @@ module.exports = function(config) {
|
||||||
'bower_components/jquery-ui/jquery-ui.min.js',
|
'bower_components/jquery-ui/jquery-ui.min.js',
|
||||||
'bower_components/lodash/dist/lodash.min.js',
|
'bower_components/lodash/dist/lodash.min.js',
|
||||||
'src/gridstack.js',
|
'src/gridstack.js',
|
||||||
|
'src/gridstack.jQueryUI.js',
|
||||||
'spec/*-spec.js'
|
'spec/*-spec.js'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -31,7 +32,8 @@ module.exports = function(config) {
|
||||||
// preprocess matching files before serving them to the browser
|
// preprocess matching files before serving them to the browser
|
||||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||||
preprocessors: {
|
preprocessors: {
|
||||||
'src/gridstack.js': ['coverage']
|
'src/gridstack.js': ['coverage'],
|
||||||
|
'src/gridstack.jQueryUI.js': ['coverage'],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue