ericclemmons

ericclemmons/if-env

Simplify npm scripts with `if-env ... && npm run this || npm run that`

JavaScript
98
11
MIT License

The `if-env` project simplifies npm scripts by allowing developers to conditionally run different scripts based on environment variables, using the syntax `if-env ... && npm run this || npm run that`. It's particularly useful for managing environment-specific scripts in package.json files, such as running different commands for development versus production environments. This tool is designed for Node.js developers who want to streamline their npm scripts and avoid complex shell commands that may not work across different operating systems.

Total donated
Undistributed
Share with your subscribers: