PHP Classes

File: public/js/tinymce/src/skins/lightgray/Gruntfile.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/skins/lightgray/Gruntfile.js   Download  
File: public/js/tinymce/src/skins/lightgray/Gruntfile.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 2,968 bytes
 

Contents

Class file image Download
/*eslint-env node */ module.exports = function (grunt) { grunt.initConfig({ less: { desktop: { options: { cleancss: true, strictImports: true, compress: true, yuicompress: true, sourceMap: true, sourceMapRootpath: '../../', optimization: 2 }, files: { 'dist/lightgray/skin.min.css': 'src/main/less/desktop/Skin.less' // destination file and source file } }, mobile: { options: { plugins : [ new (require('less-plugin-autoprefix'))({ browsers : [ 'last 2 versions', /* for phantom */'safari >= 4' ] }) ], compress: true, yuicompress: true, sourceMap: true, sourceMapRootpath: '../../', optimization: 2 }, files: { 'dist/lightgray/skin.mobile.min.css': 'src/main/less/mobile/app/mobile-less.less' // destination file and source file } }, 'content-mobile': { options: { cleancss: true, strictImports: true, compress: true }, files: { 'dist/lightgray/content.mobile.min.css': 'src/main/less/mobile/content.less' // destination file and source file } }, content: { options: { cleancss: true, strictImports: true, compress: true }, files: { 'dist/lightgray/content.min.css': 'src/main/less/desktop/Content.less' // destination file and source file } }, "content-inline": { options: { cleancss: true, strictImports: true, compress: true }, files: { 'dist/lightgray/content.inline.min.css': 'src/main/less/desktop/Content.Inline.less' // destination file and source file } } }, copy: { "plugin": { files: [ { expand: true, flatten: true, cwd: "src/main/fonts", src: [ "**", "!*.json", "!*.md" ], dest: "dist/lightgray/fonts" }, { expand: true, flatten: true, cwd: "src/main/img", src: "**", dest: "dist/lightgray/img" } ] } }, watch: { skin: { files: ["src/main/less/**/*"], tasks: ["less", "copy"], options: { spawn: false } } } }); grunt.task.loadTasks("../../../node_modules/@ephox/bolt/tasks"); grunt.task.loadTasks("../../../node_modules/grunt-contrib-copy/tasks"); grunt.task.loadTasks("../../../node_modules/grunt-contrib-uglify/tasks"); grunt.task.loadTasks("../../../node_modules/grunt-contrib-less/tasks"); grunt.task.loadTasks("../../../node_modules/grunt-contrib-watch/tasks"); grunt.registerTask("default", ["less", "copy"]); };