Package detail

imagemin-lint-staged

tomchentw50.3kMIT0.5.1

imagemin CLI designed for lint-staged usage with sensible defaults

imagemin, CLI, git hook, compress images

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.5.1 (2022-06-24)

0.5.0 (2022-06-24)

Features

  • package.json: upgrade dependencies (#14) (d80565a)

0.4.0 (2019-01-02)

Features

  • lib: change to commonjs export (11e3382)
  • package.json: remove babel-multi-env (f427662)

0.3.1 (2019-01-02)

Bug Fixes

  • package.json: update core dependencies (#4) (c6a96f2)

0.3.0 (2017-11-23)

Features

  • index.js: export minifyFile (23b608f)

0.2.1 (2017-11-14)

Bug Fixes

  • index.js: use separate CLI entry file (3c5d7fc)
  • package.json: use separate CLI entry file (a605c3f)

0.2.0 (2017-11-14)

Features

  • index.js: add imagemin-lint-staged CLI (341f094)
  • package.json: add with dependencies (42c4166)