Updater for updating the banner comments in JavaScript files.
Install update
To use this updater, you will first need to install update. If you haven't done so already, you can do that now with the following command:
$ npm install --global update
This adds the update
command to your system path, allowing it to be run from any directory.
Install [updater-banners][]
Next, install this updater with the following command:
$ npm install --global updater-banners
Run the updater
Always make sure your work is committed before running any updater! This updater will change the copyright dates in index.js
.
Run the updater with the following command:
$ update banners
Specify other files to update (yes, we're using banners --banners
to ensure we never conflict with other flags when chaining updaters):
$ update banners --banners foo.js
$ update banners --banners "foo/*.js"
- updater-editorconfig: Update or add a
.editorconfig
in the current working directory using a template defined by… more | homepage - updater-eslint: Update a
.eslintrc.json
file based on a template and preferences. This updater can be used… more | homepage - updater-package: Update a package.json based on globally stored preferences. | homepage
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.4.2, on February 01, 2017.