gulp-jsonmerge

1.0.3 • Public • Published

gulp-jsonmerge

NPM version Build Status Coverage Status Dependency Status

jsonmerge plugin for gulp

Usage

First, install gulp-jsonmerge as a development dependency:

npm install --save-dev gulp-jsonmerge

Then, add it to your gulpfile.js:

** This plugin will collect all the json files provided to it, parse them, put them in a file**

var jsonmerge = require("gulp-jsonmerge");
 
gulp.src("./src/*.json")
    .pipe(jsonmerge("result.js"))
    .pipe(gulp.dest("./dist"));

API

jsonmerge(fileName)

fileName

Type: String

The output filename

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i gulp-jsonmerge

Weekly Downloads

1

Version

1.0.3

License

WTFPL

Last publish

Collaborators

  • eyolas