Jan Dittberner
d7a742d97d
- add package.json for npm/npx - update to fomantic-ui - move ui files to ui directory - add UI build documentation to README.md - add ui target to Makefile - add addPrefix handler in boardvoting.go to allow the same /static/ prefix for static resources
35 lines
686 B
JavaScript
35 lines
686 B
JavaScript
/*******************************
|
|
* Set-up
|
|
*******************************/
|
|
|
|
var
|
|
gulp = require('gulp'),
|
|
|
|
// read user config to know what task to load
|
|
config = require('./tasks/config/user')
|
|
;
|
|
|
|
|
|
/*******************************
|
|
* Tasks
|
|
*******************************/
|
|
|
|
require('./tasks/collections/build')(gulp);
|
|
require('./tasks/collections/various')(gulp);
|
|
require('./tasks/collections/install')(gulp);
|
|
|
|
gulp.task('default', gulp.series('watch'));
|
|
|
|
/*--------------
|
|
Docs
|
|
---------------*/
|
|
|
|
require('./tasks/collections/docs')(gulp);
|
|
|
|
/*--------------
|
|
RTL
|
|
---------------*/
|
|
|
|
if (config.rtl) {
|
|
require('./tasks/collections/rtl')(gulp);
|
|
}
|