@djk/mergejson
Merge file 1 as defaults to file 2 with path
Last updated 2 years ago by djk .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @djk/mergejson 
SYNC missed versions from official npm registry.

mergejson

Merge two files using a path selector. Useful for npm-package and similar. Second file gets lodash _.defaults applied, preserving any existing values.

Installation

npm i -g @djk/mergejson

Example useage

mergejson ../alpha/package.json package.json scripts

Merges any scripts the second given file doesn't have.

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

3 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |