1.0.2 • Published 3 years ago

@josselinbuils/exec-staged v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

exec-staged

Zero dependency lib to exec commands on staged files.

Install

yarn add -D @josselinbuils/exec-staged
npm install --save-dev @josselinbuils/exec-staged

Configuration

// exec-staged.config.js

module.exports = [
  {
    regex: /\.(js)$/,
    commands: ['prettier --write', 'git add'],
  },
];

Usage

exec-staged
1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.1.1

5 years ago

0.1.0

5 years ago