2017-08-21 20:03:16 +00:00
|
|
|
var basePath = 'babyblotter/static/babyblotter/';
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
basePath: basePath,
|
|
|
|
compressConfig: {
|
|
|
|
scripts: {
|
|
|
|
dest: basePath + 'js/'
|
|
|
|
},
|
|
|
|
styles: {
|
|
|
|
dest: basePath + 'css/'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
extrasConfig: {
|
|
|
|
fonts: {
|
|
|
|
dest: basePath + 'fonts/',
|
|
|
|
extras: 'node_modules/font-awesome/fonts/*'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
scriptsConfig: {
|
|
|
|
dest: basePath + 'js/',
|
|
|
|
vendor: [
|
|
|
|
'node_modules/jquery/dist/jquery.js',
|
|
|
|
'node_modules/popper.js/dist/umd/popper.js',
|
|
|
|
'node_modules/bootstrap/dist/js/bootstrap.js',
|
|
|
|
'node_modules/moment/moment.js',
|
|
|
|
'node_modules/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js'
|
|
|
|
],
|
2017-08-24 13:48:38 +00:00
|
|
|
graph: [
|
|
|
|
'node_modules/plotly.js/dist/plotly-cartesian.js'
|
|
|
|
],
|
2017-08-21 20:03:16 +00:00
|
|
|
app: [
|
2017-08-24 11:54:47 +00:00
|
|
|
'babyblotter/static_src/js/babyblotter.js',
|
|
|
|
'api/static_src/js/*.js',
|
|
|
|
'core/static_src/js/*.js',
|
|
|
|
'dashboard/static_src/js/*.js'
|
2017-08-21 20:03:16 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
stylesConfig: {
|
|
|
|
dest: basePath + 'css/',
|
|
|
|
vendor: [
|
2017-09-15 16:45:12 +00:00
|
|
|
'node_modules/tempusdominus-bootstrap-4/build/css/tempusdominus-bootstrap-4.css'
|
2017-08-21 20:03:16 +00:00
|
|
|
],
|
2017-08-24 17:18:00 +00:00
|
|
|
app: 'babyblotter/static_src/scss/babyblotter.scss',
|
|
|
|
ignore: [
|
|
|
|
'babyblotter.scss'
|
|
|
|
]
|
2017-08-22 16:56:30 +00:00
|
|
|
},
|
|
|
|
watchConfig: {
|
|
|
|
scriptsGlob: [
|
2017-08-24 11:54:47 +00:00
|
|
|
'**/static_src/js/**/*.js',
|
2017-08-22 16:56:30 +00:00
|
|
|
'!babyblotter/static/js/'
|
|
|
|
],
|
|
|
|
stylesGlob: [
|
2017-08-24 11:54:47 +00:00
|
|
|
'**/static_src/scss/**/*.scss'
|
2017-08-22 16:56:30 +00:00
|
|
|
]
|
2017-08-21 20:03:16 +00:00
|
|
|
}
|
|
|
|
};
|