2016-02-28 22:35:24 +01:00
|
|
|
/**
|
|
|
|
* EGroupware Gruntfile.js
|
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
2016-10-08 14:32:58 +02:00
|
|
|
* @author Ralf Becker <rb@egroupware.org>
|
|
|
|
* @copyright (c) 2016 by Ralf Becker <rb@egroupware.org>
|
2016-02-28 22:35:24 +01:00
|
|
|
* @version $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* To install grunt to build minified javascript files you need to run:
|
2016-03-01 21:55:21 +01:00
|
|
|
*
|
2016-02-28 22:35:24 +01:00
|
|
|
* sudo npm install -g grunt-cli
|
2016-05-24 10:02:34 +02:00
|
|
|
* npm install # installs everything from package.json into node_modules dir
|
|
|
|
*
|
|
|
|
* To generate the now existing package.json:
|
|
|
|
* npm init
|
2016-02-28 22:35:24 +01:00
|
|
|
* npm install grunt --save-dev
|
2018-08-02 17:15:49 +02:00
|
|
|
* npm install grunt-contrib-uglify-es --save-dev
|
2016-03-02 21:00:41 +01:00
|
|
|
* npm install grunt-newer --save-dev
|
2016-04-30 11:29:54 +02:00
|
|
|
* npm install grunt-contrib-cssmin --save-dev
|
2016-05-02 12:28:35 +02:00
|
|
|
* npm install grunt-hub --save-dev
|
2016-02-28 22:35:24 +01:00
|
|
|
*
|
|
|
|
* Building happens by running in your EGroupware directory:
|
2016-03-01 21:55:21 +01:00
|
|
|
*
|
2016-04-30 11:29:54 +02:00
|
|
|
* grunt # runs uglify and cssmin for all targets with changed files
|
2016-03-01 10:57:39 +01:00
|
|
|
* or
|
2016-03-02 21:00:41 +01:00
|
|
|
* grunt [newer:]uglify:<target> # targets: api, et2, pixelegg, mobile, mail, calendar, ...
|
2016-04-30 11:29:54 +02:00
|
|
|
* or
|
|
|
|
* grunt [newer:]cssmin:<target> # targets: pixelegg, jdots
|
2016-03-01 21:55:21 +01:00
|
|
|
*
|
|
|
|
* app.js files can be added like mail target or, if you want automatic dependencies,
|
|
|
|
* you need to add them in egw_framework::$bundle2minurl and egw_framework::get_bundles().
|
2016-02-28 22:35:24 +01:00
|
|
|
*
|
|
|
|
* To update files in Gruntfile after adding new js files you need to run:
|
2016-03-01 21:55:21 +01:00
|
|
|
*
|
2016-02-28 22:35:24 +01:00
|
|
|
* updateGruntfile.php
|
|
|
|
*
|
2016-03-01 21:55:21 +01:00
|
|
|
* Please use only double quotes, as we parse this file as json to update it!
|
|
|
|
*
|
2016-02-28 22:35:24 +01:00
|
|
|
* @param {object} grunt
|
|
|
|
*/
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
grunt.initConfig({
|
|
|
|
uglify: {
|
|
|
|
options: {
|
2016-10-08 14:32:58 +02:00
|
|
|
banner: "/*!\n * EGroupware (http://www.egroupware.org/) minified Javascript\n *\n * full sources are available under https://github.com/EGroupware/egroupware/\n *\n * build <%= grunt.template.today() %>\n */\n",
|
2016-02-28 22:35:24 +01:00
|
|
|
mangle: false,
|
|
|
|
sourceMap: true,
|
|
|
|
screwIE8: true
|
|
|
|
},
|
2016-03-01 10:57:39 +01:00
|
|
|
api: {
|
2016-02-28 22:35:24 +01:00
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jsapi.min.js": [
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery/dist/jquery.js",
|
2016-06-15 08:54:12 +02:00
|
|
|
"api/js/jquery/jquery.noconflict.js",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/jquery-ui.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jsapi/jsapi.js",
|
|
|
|
"api/js/egw_json.js",
|
|
|
|
"api/js/jsapi/egw_core.js",
|
|
|
|
"api/js/jsapi/egw_debug.js",
|
|
|
|
"api/js/jsapi/egw_preferences.js",
|
|
|
|
"api/js/jsapi/egw_utils.js",
|
|
|
|
"api/js/jsapi/egw_ready.js",
|
|
|
|
"api/js/jsapi/egw_files.js",
|
|
|
|
"api/js/jsapi/egw_lang.js",
|
|
|
|
"api/js/jsapi/egw_links.js",
|
|
|
|
"api/js/jsapi/egw_open.js",
|
|
|
|
"api/js/jsapi/egw_user.js",
|
|
|
|
"api/js/jsapi/egw_config.js",
|
|
|
|
"api/js/jsapi/egw_images.js",
|
|
|
|
"api/js/jsapi/egw_jsonq.js",
|
|
|
|
"api/js/jsapi/egw_json.js",
|
|
|
|
"api/js/jsapi/egw_store.js",
|
|
|
|
"api/js/jsapi/egw_tooltip.js",
|
|
|
|
"api/js/jsapi/egw_css.js",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.js",
|
|
|
|
"api/js/jsapi/egw_calendar.js",
|
|
|
|
"api/js/jsapi/egw_data.js",
|
|
|
|
"api/js/jsapi/egw_tail.js",
|
|
|
|
"api/js/jsapi/egw_inheritance.js",
|
|
|
|
"api/js/jsapi/egw_message.js",
|
|
|
|
"api/js/jsapi/egw_notification.js",
|
|
|
|
"api/js/es6-promise.min.js",
|
|
|
|
"api/js/jsapi/app_base.js",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxcommon.js",
|
|
|
|
"api/js/dhtmlxtree/sources/dhtmlxtree.js",
|
|
|
|
"api/js/dhtmlxtree/sources/ext/dhtmlxtree_json.js",
|
|
|
|
"api/js/egw_action/egw_action_common.js",
|
|
|
|
"api/js/egw_action/egw_action.js",
|
|
|
|
"api/js/egw_action/egw_keymanager.js",
|
|
|
|
"api/js/egw_action/egw_menu.js",
|
|
|
|
"api/js/jquery/jquery-tap-and-hold/jquery.tapandhold.js",
|
|
|
|
"api/js/egw_action/egw_action_popup.js",
|
|
|
|
"api/js/egw_action/egw_action_dragdrop.js",
|
|
|
|
"api/js/egw_action/egw_dragdrop_dhtmlx_tree.js",
|
|
|
|
"api/js/dhtmlxMenu/sources/dhtmlxmenu.js",
|
|
|
|
"api/js/dhtmlxMenu/sources/ext/dhtmlxmenu_ext.js",
|
|
|
|
"api/js/egw_action/egw_menu_dhtmlx.js",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/js/jquery/chosen/chosen.jquery.js"
|
2016-03-01 10:57:39 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
et2: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/etemplate2.min.js": [
|
|
|
|
"api/js/etemplate/et2_core_xml.js",
|
|
|
|
"api/js/etemplate/et2_core_common.js",
|
|
|
|
"api/js/etemplate/et2_core_inheritance.js",
|
|
|
|
"api/js/etemplate/et2_core_interfaces.js",
|
|
|
|
"api/js/etemplate/et2_core_phpExpressionCompiler.js",
|
|
|
|
"api/js/etemplate/et2_core_arrayMgr.js",
|
|
|
|
"api/js/etemplate/et2_core_widget.js",
|
|
|
|
"api/js/etemplate/et2_core_DOMWidget.js",
|
|
|
|
"api/js/etemplate/et2_widget_template.js",
|
|
|
|
"api/js/etemplate/et2_widget_grid.js",
|
|
|
|
"api/js/etemplate/et2_core_baseWidget.js",
|
|
|
|
"api/js/etemplate/et2_widget_box.js",
|
|
|
|
"api/js/etemplate/et2_widget_hbox.js",
|
|
|
|
"api/js/etemplate/et2_widget_groupbox.js",
|
|
|
|
"api/js/jquery/splitter.js",
|
|
|
|
"api/js/etemplate/et2_widget_split.js",
|
|
|
|
"api/js/etemplate/et2_widget_button.js",
|
|
|
|
"api/js/etemplate/et2_core_valueWidget.js",
|
|
|
|
"api/js/etemplate/et2_core_inputWidget.js",
|
|
|
|
"api/js/jquery/jpicker/jpicker-1.1.6.js",
|
|
|
|
"api/js/etemplate/et2_widget_color.js",
|
|
|
|
"api/js/jquery/blueimp/js/blueimp-gallery.min.js",
|
|
|
|
"api/js/etemplate/expose.js",
|
|
|
|
"api/js/etemplate/et2_widget_description.js",
|
|
|
|
"api/js/etemplate/et2_widget_entry.js",
|
|
|
|
"api/js/etemplate/et2_widget_textbox.js",
|
|
|
|
"api/js/etemplate/et2_widget_number.js",
|
2016-06-07 09:38:11 +02:00
|
|
|
"api/js/jquery/jquery.base64.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_widget_url.js",
|
|
|
|
"api/js/etemplate/et2_widget_selectbox.js",
|
|
|
|
"api/js/etemplate/et2_widget_checkbox.js",
|
|
|
|
"api/js/etemplate/et2_widget_radiobox.js",
|
|
|
|
"api/js/etemplate/lib/date.js",
|
|
|
|
"api/js/etemplate/et2_widget_date.js",
|
|
|
|
"api/js/etemplate/et2_widget_dialog.js",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.min.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_widget_diff.js",
|
|
|
|
"api/js/etemplate/et2_widget_dropdown_button.js",
|
|
|
|
"api/js/etemplate/et2_widget_styles.js",
|
2016-05-16 19:12:59 +02:00
|
|
|
"api/js/etemplate/et2_widget_link.js",
|
|
|
|
"api/js/etemplate/et2_widget_selectAccount.js",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.js",
|
2016-05-11 09:26:46 +02:00
|
|
|
"api/js/etemplate/et2_widget_taglist.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_extension_customfields.js",
|
|
|
|
"api/js/etemplate/et2_dataview_interfaces.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_container.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_row.js",
|
2016-06-07 08:58:07 +02:00
|
|
|
"vendor/bower-asset/jquery-touchswipe/jquery.touchSwipe.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_dataview_view_aoi.js",
|
|
|
|
"api/js/etemplate/et2_dataview_controller_selection.js",
|
|
|
|
"api/js/etemplate/et2_dataview_controller.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_tile.js",
|
|
|
|
"api/js/etemplate/et2_extension_nextmatch_actions.js",
|
|
|
|
"api/js/etemplate/et2_extension_nextmatch_controller.js",
|
|
|
|
"api/js/etemplate/et2_extension_nextmatch_rowProvider.js",
|
|
|
|
"api/js/etemplate/et2_extension_nextmatch_dynheight.js",
|
|
|
|
"api/js/etemplate/et2_dataview_model_columns.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_rowProvider.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_spacer.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_grid.js",
|
|
|
|
"api/js/etemplate/et2_dataview_view_resizeable.js",
|
|
|
|
"api/js/etemplate/et2_dataview.js",
|
|
|
|
"api/js/etemplate/et2_extension_nextmatch.js",
|
|
|
|
"api/js/etemplate/et2_widget_favorites.js",
|
|
|
|
"api/js/etemplate/et2_widget_html.js",
|
2018-12-13 09:18:55 +01:00
|
|
|
"api/js/etemplate/et2_core_editableWidget.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_widget_htmlarea.js",
|
|
|
|
"api/js/etemplate/et2_widget_tabs.js",
|
2017-10-10 13:01:23 +02:00
|
|
|
"api/js/etemplate/et2_widget_timestamper.js",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/js/etemplate/et2_widget_toolbar.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_widget_tree.js",
|
|
|
|
"api/js/etemplate/et2_widget_historylog.js",
|
|
|
|
"api/js/etemplate/et2_widget_hrule.js",
|
2017-03-06 17:36:30 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_widget_image.js",
|
|
|
|
"api/js/etemplate/et2_widget_iframe.js",
|
|
|
|
"api/js/Resumable/resumable.js",
|
|
|
|
"api/js/etemplate/et2_widget_file.js",
|
|
|
|
"api/js/etemplate/et2_widget_progress.js",
|
|
|
|
"api/js/etemplate/et2_widget_portlet.js",
|
|
|
|
"api/js/etemplate/et2_widget_ajaxSelect.js",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/js/etemplate/vfsSelectUI.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/etemplate/et2_widget_vfs.js",
|
|
|
|
"api/js/etemplate/et2_widget_video.js",
|
|
|
|
"api/js/jquery/barcode/jquery-barcode.min.js",
|
|
|
|
"api/js/etemplate/et2_widget_barcode.js",
|
|
|
|
"api/js/etemplate/et2_extension_itempicker_actions.js",
|
|
|
|
"api/js/etemplate/et2_widget_itempicker.js",
|
|
|
|
"api/js/etemplate/et2_widget_script.js",
|
|
|
|
"api/js/etemplate/et2_core_legacyJSFunctions.js",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/js/etemplate/etemplate2.js"
|
2016-03-01 10:57:39 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
mail: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"mail/js/app.min.js": [
|
|
|
|
"mail/js/app.js"
|
2016-03-01 21:45:31 +01:00
|
|
|
]
|
2016-03-01 10:57:39 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
calendar: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"calendar/js/app.min.js": [
|
|
|
|
"calendar/js/et2_widget_owner.js",
|
|
|
|
"calendar/js/et2_widget_view.js",
|
|
|
|
"calendar/js/et2_widget_timegrid.js",
|
|
|
|
"calendar/js/et2_widget_event.js",
|
|
|
|
"calendar/js/et2_widget_daycol.js",
|
|
|
|
"calendar/js/et2_widget_planner_row.js",
|
|
|
|
"calendar/js/et2_widget_planner.js",
|
|
|
|
"calendar/js/app.js"
|
2016-03-01 21:45:31 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
jdots: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"jdots/js/fw_jdots.min.js": [
|
|
|
|
"api/js/framework/fw_base.js",
|
|
|
|
"api/js/framework/fw_browser.js",
|
|
|
|
"api/js/jquery/mousewheel/mousewheel.js",
|
|
|
|
"api/js/framework/fw_ui.js",
|
|
|
|
"api/js/framework/fw_classes.js",
|
|
|
|
"api/js/framework/fw_desktop.js",
|
|
|
|
"jdots/js/fw_jdots.js"
|
2016-03-01 21:45:31 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
mobile: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"pixelegg/js/fw_mobile.min.js": [
|
2016-06-07 08:58:07 +02:00
|
|
|
"vendor/bower-asset/fastclick/lib/fastclick.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/framework/fw_base.js",
|
|
|
|
"api/js/framework/fw_browser.js",
|
|
|
|
"api/js/jquery/mousewheel/mousewheel.js",
|
|
|
|
"api/js/framework/fw_ui.js",
|
|
|
|
"api/js/framework/fw_classes.js",
|
|
|
|
"pixelegg/js/fw_mobile.js"
|
2016-03-01 21:45:31 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2018-08-02 16:31:51 +02:00
|
|
|
notifications: {
|
|
|
|
files: {
|
2018-12-12 17:00:14 +01:00
|
|
|
"notifications/js/notificationajaxpopup.min.js": [
|
2018-08-02 16:31:51 +02:00
|
|
|
"notifications/js/notificationajaxpopup.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-03-01 21:45:31 +01:00
|
|
|
pixelegg: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"pixelegg/js/fw_pixelegg.min.js": [
|
|
|
|
"api/js/framework/fw_base.js",
|
|
|
|
"api/js/framework/fw_browser.js",
|
|
|
|
"api/js/jquery/mousewheel/mousewheel.js",
|
|
|
|
"api/js/framework/fw_ui.js",
|
|
|
|
"api/js/framework/fw_classes.js",
|
|
|
|
"api/js/framework/fw_desktop.js",
|
|
|
|
"pixelegg/js/slider.js",
|
|
|
|
"pixelegg/js/fw_pixelegg.js"
|
2016-03-01 21:45:31 +01:00
|
|
|
]
|
2016-02-28 22:35:24 +01:00
|
|
|
}
|
2016-03-23 09:20:38 +01:00
|
|
|
},
|
|
|
|
projectmanager: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"projectmanager/js/app.min.js": [
|
|
|
|
"projectmanager/js/dhtmlxGantt/codebase/dhtmlxgantt.js",
|
2017-03-06 17:36:30 +01:00
|
|
|
"projectmanager/js/dhtmlxGantt/codebase/ext/dhtmlxgantt_marker.js",
|
2016-05-05 10:04:57 +02:00
|
|
|
"projectmanager/js/et2_widget_gantt.js",
|
|
|
|
"projectmanager/js/app.js"
|
2016-03-23 09:20:38 +01:00
|
|
|
]
|
|
|
|
}
|
2018-12-12 17:00:14 +01:00
|
|
|
},
|
|
|
|
messenger: {
|
|
|
|
files: {
|
|
|
|
"messenger/js/app.min.js": [
|
|
|
|
"messenger/jsxc/lib/jquery.slimscroll.js",
|
|
|
|
"messenger/jsxc/lib/jquery.fullscreen.js",
|
|
|
|
"messenger/jsxc/lib/jsxc.dep.js",
|
|
|
|
"messenger/jsxc/jsxc.js",
|
|
|
|
"messenger/js/init.js",
|
2019-03-01 20:12:17 +01:00
|
|
|
"messenger/js/templates.js",
|
2018-12-12 17:00:14 +01:00
|
|
|
"messenger/js/app.js"
|
|
|
|
]
|
|
|
|
}
|
2016-02-28 22:35:24 +01:00
|
|
|
}
|
2016-04-30 11:29:54 +02:00
|
|
|
},
|
|
|
|
cssmin: {
|
|
|
|
options: {
|
|
|
|
shorthandCompacting: false,
|
|
|
|
sourceMap: true,
|
2016-05-02 10:29:07 +02:00
|
|
|
rebase: true
|
2016-04-30 11:29:54 +02:00
|
|
|
},
|
|
|
|
pixelegg: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"pixelegg/css/pixelegg.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.css",
|
2017-11-09 17:23:49 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"pixelegg/css/pixelegg.css",
|
|
|
|
"api/templates/default/print.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"pixelegg/print.css"
|
2016-04-30 11:29:54 +02:00
|
|
|
],
|
2016-05-05 10:04:57 +02:00
|
|
|
"pixelegg/css/mobile.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.css",
|
2017-11-09 17:23:49 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"pixelegg/css/mobile.css",
|
|
|
|
"api/templates/default/print.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"pixelegg/print.css"
|
2016-04-30 11:29:54 +02:00
|
|
|
],
|
2016-05-05 10:04:57 +02:00
|
|
|
"pixelegg/mobile/fw_mobile.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
|
|
|
"api/js/etemplate/lib/jsdifflib/diffview.css",
|
2017-03-06 17:36:30 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"pixelegg/mobile/fw_mobile.css",
|
|
|
|
"api/templates/default/print.css",
|
|
|
|
"pixelegg/print.css"
|
2017-03-06 17:36:30 +01:00
|
|
|
],
|
2018-07-25 16:27:28 +02:00
|
|
|
"pixelegg/css/traditional.min.css": [
|
2017-03-06 17:36:30 +01:00
|
|
|
"api/js/jquery/chosen/chosen.css",
|
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2017-03-06 17:36:30 +01:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
|
|
|
"api/js/etemplate/lib/jsdifflib/diffview.css",
|
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
|
|
|
"api/templates/default/etemplate2.css",
|
2018-07-25 16:27:28 +02:00
|
|
|
"pixelegg/css/traditional.css",
|
2017-03-06 17:36:30 +01:00
|
|
|
"api/templates/default/print.css",
|
2018-09-18 11:01:17 +02:00
|
|
|
"pixelegg/print.css",
|
|
|
|
"api/templates/default/css/flags.css"
|
2018-12-12 17:00:14 +01:00
|
|
|
],
|
|
|
|
"pixelegg/css/modern.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"pixelegg/css/modern.css",
|
|
|
|
"api/templates/default/print.css",
|
|
|
|
"pixelegg/print.css"
|
2016-04-30 11:29:54 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
jdots: {
|
|
|
|
files: {
|
2016-05-05 10:04:57 +02:00
|
|
|
"jdots/css/high-contrast.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.css",
|
2017-11-09 17:23:49 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"api/templates/default/def_tutorials.css",
|
|
|
|
"api/templates/default/default.css",
|
|
|
|
"jdots/egw_fw.css",
|
|
|
|
"jdots/css/jdots.css",
|
|
|
|
"jdots/css/high-contrast.css",
|
|
|
|
"api/templates/default/print.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"jdots/print.css"
|
2016-04-30 11:29:54 +02:00
|
|
|
],
|
2016-05-05 10:04:57 +02:00
|
|
|
"jdots/css/jdots.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.css",
|
2017-11-09 17:23:49 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"api/templates/default/def_tutorials.css",
|
|
|
|
"api/templates/default/default.css",
|
|
|
|
"jdots/egw_fw.css",
|
|
|
|
"jdots/css/jdots.css",
|
|
|
|
"api/templates/default/print.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"jdots/print.css"
|
2016-04-30 11:29:54 +02:00
|
|
|
],
|
2016-05-05 10:04:57 +02:00
|
|
|
"jdots/css/orange-green.min.css": [
|
|
|
|
"api/js/jquery/chosen/chosen.css",
|
2016-06-06 17:38:20 +02:00
|
|
|
"vendor/bower-asset/jquery-ui/themes/redmond/jquery-ui.css",
|
2018-06-21 13:39:00 +02:00
|
|
|
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/js/jquery/jpicker/css/jPicker-1.1.6.min.css",
|
|
|
|
"api/js/jquery/jquery-ui-timepicker-addon.css",
|
|
|
|
"api/js/jquery/blueimp/css/blueimp-gallery.min.css",
|
|
|
|
"api/js/dhtmlxtree/codebase/dhtmlxtree.css",
|
|
|
|
"api/js/egw_action/test/skins/dhtmlxmenu_egw.css",
|
2019-03-01 20:12:17 +01:00
|
|
|
"vendor/bower-asset/diff2html/dist/diff2html.css",
|
2017-11-09 17:23:49 +01:00
|
|
|
"vendor/bower-asset/cropper/dist/cropper.min.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"api/templates/default/css/flags.css",
|
|
|
|
"api/templates/default/css/htmlarea.css",
|
2016-05-05 10:04:57 +02:00
|
|
|
"api/templates/default/etemplate2.css",
|
|
|
|
"api/templates/default/def_tutorials.css",
|
|
|
|
"api/templates/default/default.css",
|
|
|
|
"jdots/egw_fw.css",
|
|
|
|
"jdots/css/jdots.css",
|
|
|
|
"jdots/css/orange-green.css",
|
|
|
|
"api/templates/default/print.css",
|
2018-12-12 17:00:14 +01:00
|
|
|
"jdots/print.css"
|
2016-04-30 11:29:54 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2016-05-02 12:28:35 +02:00
|
|
|
},
|
|
|
|
hub: {
|
|
|
|
all: {
|
2016-05-02 14:31:24 +02:00
|
|
|
src: [
|
2016-05-05 10:04:57 +02:00
|
|
|
"*/Gruntfile.js"
|
2016-05-02 14:31:24 +02:00
|
|
|
]
|
2016-05-02 12:28:35 +02:00
|
|
|
}
|
2016-02-28 22:35:24 +01:00
|
|
|
}
|
|
|
|
});
|
|
|
|
// Load the plugin that provides the "uglify" task.
|
2018-08-02 17:15:49 +02:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-uglify-es');
|
2016-02-28 22:35:24 +01:00
|
|
|
|
2016-04-30 11:29:54 +02:00
|
|
|
// Load plugin for css minificaton
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
|
|
|
|
2016-03-02 21:00:41 +01:00
|
|
|
// Load the plugin that runs tasks only on modified files
|
|
|
|
grunt.loadNpmTasks('grunt-newer');
|
|
|
|
|
2016-05-25 15:06:04 +02:00
|
|
|
// uncomment to run Gruntfile.js in apps / sub-directories
|
|
|
|
//grunt.loadNpmTasks('grunt-hub');
|
2016-05-02 12:28:35 +02:00
|
|
|
|
2016-02-28 22:35:24 +01:00
|
|
|
// Default task(s).
|
2016-05-25 15:06:04 +02:00
|
|
|
grunt.registerTask('default', ['newer:uglify', 'newer:cssmin']);//, 'hub']);
|
2016-02-28 22:35:24 +01:00
|
|
|
};
|