Join Ray Villalobos for an in-depth discussion in this video Crushing our JSON file, part of Web Project Workflows with Gulp.js, Git, and Browserify.
But, since we're crushing and minifying everything else, we're…going to take care of JSON the same way.…And, of course, there's a plugin for…that, there's a plugin for just about everything.…And this one's called gulp-jsonminify.…It really doesn't have any options, it's pretty easy to use.…So, we'll go into our terminal, once again, and npm install…--save-dev, and bring in the gulp-jsonminify plugin.…And then we'll go into our gulp file.…
Set up a variable for it.…We'll just copy one of these other ones and call ii jsonminify.…Require the plugin, just like before.…
- Why workflow management?
- Processing tasks with gulp-coffee
- Importing libraries with Browserify
- Processing Sass and Compass
- Issuing tasks in sequence
- Watching changes to files
- Adding static reloads
- Setting up environment variables
- Minifying HTML
- Compressing images