if-newer

1.0.2 • Public • Published

if-newer

Run npm task only if any of source files are newer than destination.

Install

npm install if-newer

Usage

if-newer [src] [dest] [command]

E.g.:

    "scripts"{
        "build""if-newer src/**/*.js dest/**/*.js babel"
    },

Author

Ivan Nikulin (ifaaan@gmail.com)

Package Sidebar

Install

npm i if-newer

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • inikulin