Awesome
imagemin-lint-staged
imagemin CLI designed for lint-staged usage with sensible defaults
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request