2022-02-21 17:49:36 +00:00
|
|
|
const basePath = 'babybuddy/static/babybuddy/';
|
2017-08-21 20:03:16 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
basePath: basePath,
|
|
|
|
extrasConfig: {
|
|
|
|
fonts: {
|
2021-08-29 21:56:21 +00:00
|
|
|
dest: basePath + 'font/',
|
|
|
|
files: 'babybuddy/static_src/fontello/font/*'
|
2017-10-23 19:13:11 +00:00
|
|
|
},
|
2017-11-06 21:24:21 +00:00
|
|
|
images: {
|
|
|
|
dest: basePath + 'img/',
|
|
|
|
files: '**/static_src/img/**/*'
|
|
|
|
},
|
2018-05-20 22:59:45 +00:00
|
|
|
logo: {
|
|
|
|
dest: basePath + 'logo/',
|
|
|
|
files: 'babybuddy/static_src/logo/**/*'
|
|
|
|
},
|
2017-10-23 19:13:11 +00:00
|
|
|
root: {
|
|
|
|
dest: basePath + 'root/',
|
|
|
|
files: 'babybuddy/static_src/root/*'
|
2017-08-21 20:03:16 +00:00
|
|
|
}
|
|
|
|
},
|
2021-12-22 16:29:32 +00:00
|
|
|
glyphFontConfig: {
|
2021-09-04 03:33:25 +00:00
|
|
|
configFile: 'babybuddy/static_src/fontello/config.json',
|
|
|
|
dest: 'babybuddy/static_src/fontello'
|
|
|
|
},
|
2017-08-21 20:03:16 +00:00
|
|
|
scriptsConfig: {
|
|
|
|
dest: basePath + 'js/',
|
|
|
|
vendor: [
|
2020-02-04 18:52:05 +00:00
|
|
|
'node_modules/pulltorefreshjs/dist/index.umd.js',
|
2017-08-21 20:03:16 +00:00
|
|
|
'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',
|
2020-01-20 17:28:23 +00:00
|
|
|
'node_modules/moment/locale/de.js',
|
2021-10-17 13:23:43 +00:00
|
|
|
'node_modules/moment/locale/en-gb.js',
|
2020-01-20 17:28:23 +00:00
|
|
|
'node_modules/moment/locale/es.js',
|
2020-07-30 02:44:31 +00:00
|
|
|
'node_modules/moment/locale/fi.js',
|
2020-01-20 17:28:23 +00:00
|
|
|
'node_modules/moment/locale/fr.js',
|
2021-03-04 14:03:29 +00:00
|
|
|
'node_modules/moment/locale/it.js',
|
2021-02-25 14:00:23 +00:00
|
|
|
'node_modules/moment/locale/nl.js',
|
2021-10-07 01:37:26 +00:00
|
|
|
'node_modules/moment/locale/pl.js',
|
|
|
|
'node_modules/moment/locale/pt.js',
|
2020-01-20 17:28:23 +00:00
|
|
|
'node_modules/moment/locale/sv.js',
|
|
|
|
'node_modules/moment/locale/tr.js',
|
2022-02-21 17:27:27 +00:00
|
|
|
'node_modules/moment/locale/zh-cn.js',
|
2020-02-14 20:46:01 +00:00
|
|
|
'node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.js',
|
2018-07-15 17:12:55 +00:00
|
|
|
'node_modules/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js'
|
2017-08-21 20:03:16 +00:00
|
|
|
],
|
2017-08-24 13:48:38 +00:00
|
|
|
graph: [
|
2020-01-20 15:13:12 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-cartesian.js',
|
|
|
|
'node_modules/plotly.js/dist/plotly-locale-de.js',
|
|
|
|
'node_modules/plotly.js/dist/plotly-locale-es.js',
|
2020-07-30 02:44:31 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-fi.js',
|
2020-01-20 15:13:12 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-fr.js',
|
2021-03-04 14:03:29 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-it.js',
|
2021-02-25 14:00:23 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-nl.js',
|
2021-10-07 01:37:26 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-pl.js',
|
|
|
|
'node_modules/plotly.js/dist/plotly-locale-pt-br.js',
|
|
|
|
'node_modules/plotly.js/dist/plotly-locale-pt-pt.js',
|
2020-01-20 15:13:12 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-sv.js',
|
2021-10-17 19:57:57 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-tr.js',
|
2022-02-21 17:27:27 +00:00
|
|
|
'node_modules/plotly.js/dist/plotly-locale-uk.js',
|
|
|
|
'node_modules/plotly.js/dist/plotly-locale-zh-cn.js',
|
2017-08-24 13:48:38 +00:00
|
|
|
],
|
2017-08-21 20:03:16 +00:00
|
|
|
app: [
|
2017-10-22 18:00:42 +00:00
|
|
|
'babybuddy/static_src/js/babybuddy.js',
|
2017-08-24 11:54:47 +00:00
|
|
|
'api/static_src/js/*.js',
|
|
|
|
'core/static_src/js/*.js',
|
|
|
|
'dashboard/static_src/js/*.js'
|
2022-02-22 18:40:27 +00:00
|
|
|
],
|
|
|
|
tags_editor: [
|
|
|
|
'babybuddy/static_src/js/tags_editor.js'
|
2017-08-21 20:03:16 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
stylesConfig: {
|
|
|
|
dest: basePath + 'css/',
|
2017-10-22 18:00:42 +00:00
|
|
|
app: 'babybuddy/static_src/scss/babybuddy.scss',
|
2017-08-24 17:18:00 +00:00
|
|
|
ignore: [
|
2017-10-22 18:00:42 +00:00
|
|
|
'babybuddy.scss'
|
2017-08-24 17:18:00 +00:00
|
|
|
]
|
2017-08-22 16:56:30 +00:00
|
|
|
},
|
2020-07-27 03:02:51 +00:00
|
|
|
testsConfig: {
|
|
|
|
isolated: [
|
2021-11-12 18:13:08 +00:00
|
|
|
'babybuddy.tests.formats.tests_en_us.FormatsTestCase.test_use_24_hour_time_format'
|
2020-07-27 03:02:51 +00:00
|
|
|
],
|
|
|
|
},
|
2017-08-22 16:56:30 +00:00
|
|
|
watchConfig: {
|
|
|
|
scriptsGlob: [
|
2018-07-15 17:12:55 +00:00
|
|
|
'*/static_src/js/**/*.js',
|
2017-10-22 18:00:42 +00:00
|
|
|
'!babybuddy/static/js/'
|
2017-08-22 16:56:30 +00:00
|
|
|
],
|
|
|
|
stylesGlob: [
|
2018-07-15 17:12:55 +00:00
|
|
|
'*/static_src/scss/**/*.scss'
|
2017-08-22 16:56:30 +00:00
|
|
|
]
|
2017-08-21 20:03:16 +00:00
|
|
|
}
|
|
|
|
};
|