@davidsneighbour/imagemin-lint-staged

0.6.0 • Public • Published

imagemin-lint-staged

imagemin CLI designed for lint-staged usage with sensible defaults

Version PR Workflow

Installation

npm i --save-dev imagemin-lint-staged

Usage

Use in conjuntion with lint-staged. In your package.json

  "lint-staged": {
    "*.{png,jpeg,jpg,gif,svg}": ["imagemin-lint-staged"]
  },

Options

N/A

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Package Sidebar

Install

npm i @davidsneighbour/imagemin-lint-staged

Weekly Downloads

0

Version

0.6.0

License

MIT

Unpacked Size

10.1 kB

Total Files

6

Last publish

Collaborators

  • davidsneighbour