PHP Classes

File: public/js/tinymce/src/plugins/emoticons/Gruntfile.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/emoticons/Gruntfile.js   Download  
File: public/js/tinymce/src/plugins/emoticons/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: 1,746 bytes
 

Contents

Class file image Download
/*eslint-env node */ module.exports = function (grunt) { grunt.initConfig({ "bolt-init": { "plugin": { config_dir: "config/bolt" } }, "bolt-build": { "plugin": { config_js: "config/bolt/prod.js", output_dir: "scratch", main: "tinymce.plugins.emoticons.Plugin", filename: "plugin", generate_inline: true, minimise_module_names: true, files: { src: ["src/main/js/Plugin.js"] } } }, copy: { "plugin": { files: [ { src: "scratch/inline/plugin.raw.js", dest: "dist/emoticons/plugin.js" }, { flatten: true, expand: true, cwd: "src/main/img", src: "*.gif", dest: "dist/emoticons/img/" } ] } }, eslint: { options: { config: "../../../.eslintrc" }, src: [ "src" ] }, uglify: { options: { beautify: { ascii_only: true, screw_ie8: false }, compress: { screw_ie8: false } }, "plugin": { files: [ { src: "scratch/inline/plugin.js", dest: "dist/emoticons/plugin.min.js" } ] } } }); 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-eslint/tasks"); grunt.registerTask("default", ["bolt-init", "bolt-build", "copy", "eslint", "uglify"]); };