gulp-json-minify

    1.2.2 • Public • Published

    Build Status npm version Dependency Status semantic-release Commitizen friendly GitHub license

    gulp-json-minify

    gulp wrapper for node-json-minify

    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);
    });

    Install

    npm i gulp-json-minify

    DownloadsWeekly Downloads

    776

    Version

    1.2.2

    License

    MIT

    Last publish

    Collaborators

    • cstuncsik