##// END OF EJS Templates
chore: bump version
chore: bump version

File last commit:

r5240:4378f944 default
r5417:75a4ae34 v5.0.2 stable
Show More
grunt_config.json
186 lines | 6.6 KiB | application/json | JsonLexer
/ grunt_config.json
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 {
"dirs": {
"css": {
js: support shared styles via webpack inline
r3179 "src": "rhodecode/public/css",
"dest": "rhodecode/public/css"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 },
"js": {
"src": "rhodecode/public/js/src",
js: organized and updated JS packages....
r2123 "src_rc": "rhodecode/public/js/rhodecode",
frontend: added favico.js to requirements
r877 "dest": "rhodecode/public/js",
"node_modules": "node_modules"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 }
},
"copy": {
"main": {
js: support shared styles via webpack inline
r3179 "files": [
{
"expand": true,
"cwd": "node_modules/@webcomponents",
"src": "webcomponentsjs/*.*",
"dest": "<%= dirs.js.dest %>/vendors"
},
{
"src": "<%= dirs.css.src %>/style-polymer.css",
"dest": "<%= dirs.js.dest %>/src/components/style-polymer.css"
}
]
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 }
},
"concat": {
"dist": {
"src": [
js: organized and updated JS packages....
r2123 "<%= dirs.js.node_modules %>/jquery/dist/jquery.min.js",
"<%= dirs.js.node_modules %>/mousetrap/mousetrap.min.js",
"<%= dirs.js.node_modules %>/moment/min/moment.min.js",
"<%= dirs.js.node_modules %>/clipboard/dist/clipboard.min.js",
"<%= dirs.js.node_modules %>/favico.js/favico-0.3.10.min.js",
packages: bumped JS dependencies and added sweetAlert
r4310 "<%= dirs.js.node_modules %>/dropzone/dist/min/dropzone.min.js",
"<%= dirs.js.node_modules %>/sweetalert2/dist/sweetalert2.min.js",
diffs: sticky top-file bar + context aware file labels....
r3126 "<%= dirs.js.node_modules %>/sticky-sidebar/dist/sticky-sidebar.min.js",
"<%= dirs.js.node_modules %>/sticky-sidebar/dist/jquery.sticky-sidebar.min.js",
"<%= dirs.js.node_modules %>/waypoints/lib/noframework.waypoints.min.js",
"<%= dirs.js.node_modules %>/waypoints/lib/jquery.waypoints.min.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/logging.js",
"<%= dirs.js.src %>/bootstrap.js",
"<%= dirs.js.src %>/i18n_utils.js",
"<%= dirs.js.src %>/deform.js",
default-reviewers: introduce new voting rule logic that allows...
r2484 "<%= dirs.js.src %>/ejs.js",
"<%= dirs.js.src %>/ejs_templates/utils.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/plugins/jquery.pjax.js",
"<%= dirs.js.src %>/plugins/jquery.dataTables.js",
"<%= dirs.js.src %>/plugins/flavoured_checkbox.js",
diffs: added diff navigation to improve UX when browisng the full context diffs.
r4441 "<%= dirs.js.src %>/plugins/within_viewport.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/plugins/jquery.auto-grow-input.js",
"<%= dirs.js.src %>/plugins/jquery.autocomplete.js",
"<%= dirs.js.src %>/plugins/jquery.debounce.js",
diffs: added diff navigation to improve UX when browisng the full context diffs.
r4441 "<%= dirs.js.src %>/plugins/jquery.scrollstop.js",
"<%= dirs.js.src %>/plugins/jquery.within-viewport.js",
dan
dependencies-js: moved mark.js into a seperate dependency
r3313 "<%= dirs.js.node_modules %>/mark.js/dist/jquery.mark.min.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/plugins/jquery.timeago.js",
"<%= dirs.js.src %>/plugins/jquery.timeago-extension.js",
"<%= dirs.js.src %>/select2/select2.js",
"<%= dirs.js.src %>/codemirror/codemirror.js",
"<%= dirs.js.src %>/codemirror/codemirror_loadmode.js",
"<%= dirs.js.src %>/codemirror/codemirror_hint.js",
"<%= dirs.js.src %>/codemirror/codemirror_overlay.js",
"<%= dirs.js.src %>/codemirror/codemirror_placeholder.js",
codemirror: added simple mode plugin required for certain code modes.
r2127 "<%= dirs.js.src %>/codemirror/codemirror_simplemode.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.dest %>/mode/meta.js",
"<%= dirs.js.dest %>/mode/meta_ext.js",
js: organized and updated JS packages....
r2123 "<%= dirs.js.src_rc %>/i18n/select2/translations.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/rhodecode/utils/array.js",
"<%= dirs.js.src %>/rhodecode/utils/string.js",
"<%= dirs.js.src %>/rhodecode/utils/pyroutes.js",
"<%= dirs.js.src %>/rhodecode/utils/ajax.js",
"<%= dirs.js.src %>/rhodecode/utils/autocomplete.js",
"<%= dirs.js.src %>/rhodecode/utils/colorgenerator.js",
"<%= dirs.js.src %>/rhodecode/utils/ie.js",
"<%= dirs.js.src %>/rhodecode/utils/os.js",
"<%= dirs.js.src %>/rhodecode/utils/topics.js",
"<%= dirs.js.src %>/rhodecode/init.js",
changelog: added dynamic loaders to extend number of commits inside changelog....
r1379 "<%= dirs.js.src %>/rhodecode/changelog.js",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/rhodecode/codemirror.js",
"<%= dirs.js.src %>/rhodecode/comments.js",
"<%= dirs.js.src %>/rhodecode/constants.js",
"<%= dirs.js.src %>/rhodecode/files.js",
"<%= dirs.js.src %>/rhodecode/followers.js",
"<%= dirs.js.src %>/rhodecode/menus.js",
"<%= dirs.js.src %>/rhodecode/notifications.js",
"<%= dirs.js.src %>/rhodecode/permissions.js",
"<%= dirs.js.src %>/rhodecode/pjax.js",
"<%= dirs.js.src %>/rhodecode/pullrequests.js",
"<%= dirs.js.src %>/rhodecode/settings.js",
"<%= dirs.js.src %>/rhodecode/select2_widgets.js",
"<%= dirs.js.src %>/rhodecode/tooltips.js",
"<%= dirs.js.src %>/rhodecode/users.js",
"<%= dirs.js.src %>/rhodecode/appenlight.js",
frontend: use webpack instead of vulcanize
r3171 "<%= dirs.js.src %>/rhodecode.js",
"<%= dirs.js.dest %>/rhodecode-components.js"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 ],
"dest": "<%= dirs.js.dest %>/scripts.js",
"nonull": true
}
},
js: produce minimized JS file as well as bundle
r4017 "uglify": {
"dist": {
"src": "<%= dirs.js.dest %>/scripts.js",
"dest": "<%= dirs.js.dest %>/scripts.min.js"
}
},
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "less": {
"development": {
"options": {
"compress": false,
"yuicompress": false,
"optimization": 0
},
"files": {
"<%= dirs.css.dest %>/style.css": "<%= dirs.css.src %>/main.less",
styling: use sandboxed style for ipython so it doesn't affect style of application anymore.
r3784 "<%= dirs.css.dest %>/style-polymer.css": "<%= dirs.css.src %>/polymer.less",
"<%= dirs.css.dest %>/style-ipython.css": "<%= dirs.css.src %>/ipython.less"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 }
},
"production": {
"options": {
"compress": true,
"yuicompress": true,
"optimization": 2
},
"files": {
"<%= dirs.css.dest %>/style.css": "<%= dirs.css.src %>/main.less",
styling: use sandboxed style for ipython so it doesn't affect style of application anymore.
r3784 "<%= dirs.css.dest %>/style-polymer.css": "<%= dirs.css.src %>/polymer.less",
"<%= dirs.css.dest %>/style-ipython.css": "<%= dirs.css.src %>/ipython.less"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 }
},
"components": {
"files": [
{
"cwd": "<%= dirs.js.src %>/components/",
"dest": "<%= dirs.js.src %>/components/",
"src": [
"**/*.less"
],
"expand": true,
"ext": ".css"
}
]
}
},
"watch": {
"less": {
"files": [
grunt: small improvements to gruntfile
r761 "<%= dirs.css.src %>/**/*.less",
"<%= dirs.js.src %>/components/**/*.less"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 ],
"tasks": [
"less:development",
"less:components",
"concat:polymercss",
frontend: use webpack instead of vulcanize
r3171 "webpack",
bower: update packages
r818 "concat:dist"
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 ]
},
"js": {
"files": [
grunt: small improvements to gruntfile
r761 "!<%= dirs.js.src %>/components/root-styles.gen.html",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "<%= dirs.js.src %>/**/*.js",
"<%= dirs.js.src %>/components/**/*.html"
],
"tasks": [
"less:components",
"concat:polymercss",
frontend: use webpack instead of vulcanize
r3171 "webpack",
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 "concat:dist"
]
}
},
"jshint": {
"rhodecode": {
"src": "<%= dirs.js.src %>/rhodecode/**/*.js",
"options": {
"jshintrc": ".jshintrc"
}
}
}
}