46 lines
1.2 KiB
JavaScript
46 lines
1.2 KiB
JavaScript
|
module.exports = {
|
||
|
'src-specs': {
|
||
|
src: [
|
||
|
'test/fail-tests-if-have-errors-in-src.js',
|
||
|
'test/spec/api/**/*',
|
||
|
'test/spec/core/**/*',
|
||
|
'test/spec/dataviews/**/*',
|
||
|
'test/spec/util/**/*',
|
||
|
'test/spec/geo/**/*',
|
||
|
'test/spec/ui/**/*',
|
||
|
'test/spec/vis/**/*',
|
||
|
'test/spec/windshaft/**/*',
|
||
|
'test/spec/windshaft-integration/**/*',
|
||
|
'test/spec/analysis/**/*',
|
||
|
'test/spec/engine.spec.js',
|
||
|
|
||
|
// not actually used anywhere in cartodb.js, only for editor?
|
||
|
// TODO can be (re)moved?
|
||
|
'!test/spec/ui/common/tabpane.spec.js'
|
||
|
],
|
||
|
dest: '<%= tmp %>/src-specs.js',
|
||
|
options: {
|
||
|
transform: [
|
||
|
['babelify', {
|
||
|
presets: ['env'],
|
||
|
plugins: ['transform-object-rest-spread']
|
||
|
}]
|
||
|
],
|
||
|
require: [ 'camshaft-reference/versions/0.59.4/reference.json:./versions/0.59.4/reference.json' ]
|
||
|
}
|
||
|
},
|
||
|
|
||
|
cartodb: {
|
||
|
src: [
|
||
|
'src/cartodb.js'
|
||
|
],
|
||
|
exclude: [
|
||
|
'src/api/v4/'
|
||
|
],
|
||
|
dest: '<%= dist %>/internal/cartodb.uncompressed.js',
|
||
|
options: {
|
||
|
require: [ 'camshaft-reference/versions/0.59.4/reference.json:./versions/0.59.4/reference.json' ]
|
||
|
}
|
||
|
}
|
||
|
};
|