Keep npm package in sync with its template


Keywords
npm, template
License
BSD-2-Clause
Install
npm install npm-template-sync@3.33.1

Contributors

Markus Felten


See all contributors


Documentation

npm Greenkeeper semantic-release Build Status bithound codecov.io Coverage Status Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs XO code style downloads Commitizen friendly

npm-template-sync

Keep npm package in sync with its template

npm-template-sync --template aTemplateGithubUser/aRepo  myGithubUser/myRepo

merges contents from template repo into destination repo handling some special cases for:

  • Licenses - rewriting license years
  • line set files like .npmignore and .gitignore - by merging both sets together
  • package.json - merge devDependencies, engines and scripts
  • rollup.conf.js - copy / rewrite

generated pull request

Some templates

install

With npm do:

npm install -g npm-template-sync

# npm-template-sync --help

license

BSD-2-Clause