1.0.3 • Published 8 years ago

gulp-jsonmerge v1.0.3

Weekly downloads
1
License
WTFPL
Repository
github
Last release
8 years ago

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

1.0.3

8 years ago

1.0.2

9 years ago

1.0.0

9 years ago