LEADER 04276nam 2200469 450 001 9910809358003321 005 20170919152301.0 010 $a1-78588-333-X 035 $a(CKB)3710000000635290 035 $a(EBL)4520688 035 $a(MiAaPQ)EBC4520688 035 $a(PPN)220203792 035 $a(EXLCZ)993710000000635290 100 $a20160704d2016 uy| 0 101 0 $aeng 135 $aur|n|---||||| 181 $2rdacontent 182 $2rdamedia 183 $2rdacarrier 200 10$aLearning Grunt $emonitor and automate complex JavaScript tasks and processes by obtaining a practical understanding of Grunt /$fDouglas Reynolds 210 1$aBirmingham :$cPackt Publishing,$d2016. 215 $a1 online resource (184 p.) 225 1 $aCommunity experience distilled 300 $aIncludes index. 311 $a1-78588-880-3 327 $aCover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Grunt Dependencies; Dependencies; What is Node.js and NPM?; Where can I find Node.js and NPM?; Upgrading or installing Node.js; Upgrading Node.js via NPM on Mac; Upgrading Node.js on Windows via .msi and NPM; The pristine installation of Node.js via downloaded binary; Adding your installation path to your PATH variable; Using NPM to install the Grunt Command Line Interface; Installing the Grunt CLI; Updating NPM; Installing Grunt CLI; Summary 327 $aChapter 2: Foundation for Creating an App using Angular.JSInstalling Git; Determining the Git installation; Creating a temporary alias; Adding Git to your PATH variable; Installation of Git; Creating the Angular Seed Project; Dependencies of Angular Seed; Cloning the Angular Seed Project; Installing Angular Seed dependencies; Running the Angular Seed Application; Installation summary - a quick guide; Installing Git; Determining Git Installation; Create the Angular Seed Project; Summary; Chapter 3: All about Grunt Plugins; Obtaining Grunt plugins; Plugins overview 327 $aActually obtaining Grunt pluginsCommon Grunt plugins and their purposes; Linting JavaScript - contrib-jshint; Minifying Javascript - contrib-uglify; Compile LESS into CSS - contrib-less; Desktop notifications for automated tasks - notify; Opening files and URLs automatically - open; Optimizing images - contrib-imagemin; Running tasks only on files that changed - newer; Performing SSH and SFTP tasks - ssh; The minification of CSS - contrib-cssmin; Concatenate files - contrib-concat; Cleaning up files and folders - contrib-clean; Minifying HTML files - contrib-htmlmin 327 $aWatch for changing files - contrib-watchSummary; Chapter 4: Configuration of Grunt Tasks; Reviewing the installation of Grunt tasks; Installing contrib-jshint with NPM; Installing contrib-uglify with NPM ; Installing contrib-less with NPM ; Installing contrib-watch with NPM ; Discussing package.json and gruntfile.js ; The package.json file; The gruntfile.js file; Introducing the Grunt API; The wrapper function and initConfig; Loading NPM tasks:; Creating tasks; Grunt fail API; The Grunt event API; The Grunt file API; The Grunt log API; The Grunt option API; Grunt Template API 327 $aThe Grunt task APISummary; Chapter 5: Task Setup in the sample_project Application; Defining requirements of sample_project ; An overview of user stories; The slide deck; Gruntfile.js wrapper and configuration; Wrapper; grunt-init-gruntfile; Gruntfile.js configuration; Summary; Chapter 6: Building the Sample Project; Understanding task loading; Using the LoadNpmTasks method; Calling plugins using the loadNpmTasks method; Using the devDependencies object looping method; The default task configuration; A custom task configuration; Functional testing; Testing the contrib-jshint configuration 327 $aTesting the contrib-uglify configuration 410 0$aCommunity experience distilled. 606 $aJavaScript (Computer program language) 615 0$aJavaScript (Computer program language) 700 $aReynolds$b Douglas$01685832 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910809358003321 996 $aLearning Grunt$94109281 997 $aUNINA