A bower.json file scrubber based on fixpack
JavaScript
Switch branches/tags
Clone or download
Pull request Compare This branch is 2 commits ahead, 30 commits behind HenrikJoreteg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
fixbow.js
package.json

README.md

fixbow

A bower.json file scrubber.

Based on fixpack, a package.json file scrubber for the truly insane by Henrik Joreteg.

It will re-write your bower.json file as follows:

  • name first
  • description second
  • version third
  • authors fourth
  • all other keys in alphabetical order
  • dependencies and devDependencies sorted alphabetically
  • append operating system appropriate newline at the end of the file

It will warn you if any of these are missing:

  • authors
  • repository
  • keywords
  • main
  • ignore
  • homepage
  • license

Fix all indenting to 2 spaces.

Usage

  1. Install it globally
npm install -g fixbow
  1. Run it in the same directory as your bower.json, that's it.
fixbow

Changelog

  • 0.0.1 - Initial release

Credits

Shamelessly adapted from @HenrikJoreteg's fixpack by @mieky.

License

MIT