module.exports = function(grunt) { require('jit-grunt')(grunt); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { options: { separator: ';' }, dist: { src: ['js/jquery.toggleText.js' ,'js/bootstrap-select.js' ,'js/phpList3ToBootstrap.js' ,'bootstrap/dist/js/bootstrap.min.js' ,'js/bootstrap-tagsinput.js' ,'js/bootstrap-dialog.js' ,'js/bootstrap-toggle.js' ,'js/phplist.js'], dest: 'js/dist/<%= pkg.name %>.js' } }, uglify: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n' }, dist: { files: { 'js/dist/<%= pkg.name %>.min.js': ['<%= concat.dist.dest %>'] } } }, less: { development: { options: { compress: true, yuicompress: true, optimization: 2 }, files: { "css/style.css": "less/style.less" // destination file and source file } } }, watch: { styles: { files: ['less/**/*.less'], // which files to watch tasks: ['less'], options: { nospawn: true } } } }); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.registerTask('mydefault', [ 'less' , 'watch' , 'concat' , 'uglify' ]); };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
bootstrap | Folder | 0755 |
|
|
css | Folder | 0755 |
|
|
fonts | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
less | Folder | 0755 |
|
|
pages | Folder | 0755 |
|
|
.gitignore | File | 49 B | 0644 |
|
.travis.yml | File | 394 B | 0644 |
|
LICENSE | File | 34.32 KB | 0644 |
|
README.md | File | 1.96 KB | 0644 |
|
body_trackers.php | File | 0 B | 0644 |
|
composer.json | File | 703 B | 0644 |
|
footer.inc | File | 98 B | 0644 |
|
footer_minified.inc | File | 2.25 KB | 0644 |
|
frontendfooter.php | File | 776 B | 0644 |
|
frontendheader.php | File | 745 B | 0644 |
|
functions.php | File | 5.84 KB | 0644 |
|
gruntfile.js | File | 1.57 KB | 0644 |
|
header.inc | File | 98 B | 0644 |
|
header_minified.inc | File | 2.76 KB | 0644 |
|
logo.svg | File | 4.67 KB | 0644 |
|
mainmenu.php | File | 1.21 KB | 0644 |
|
onyx-rss.php | File | 12.69 KB | 0644 |
|
package.json | File | 322 B | 0644 |
|
pagetop.php | File | 1.9 KB | 0644 |
|
pagetop_minified.php | File | 2 KB | 0644 |
|
pagetop_minimal.php | File | 1.15 KB | 0644 |
|
publicpagetop.php | File | 1.16 KB | 0644 |
|
rssfeed.php | File | 1.79 KB | 0644 |
|
theme_info | File | 70 B | 0644 |
|