gulp-json-minify-simple
v0.1.0
Published
Gulp wrapper for node-json-minify
Downloads
3
Maintainers
Readme
Simple, fast gulp JSON minifier that wraps JSON.stringify()
Install
$ npm i -S gulp-json-minify
Usage
var gulp = require('gulp'),
util = require('gulp-util'),
jsonMinify = require('gulp-json-minify');
gulp.task('json:minify', function() {
return gulp.src('src/data/spritesheet/*.json')
.pipe(jsonMinify())
.pipe(gulp.dest('build/production'))
.on('error', util.log);
});
License
Forked by epenkman.
Originally Copyright © 2014 Csaba Tuncsik [email protected]
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See WTFPL for more details.