Hacker News new | ask | show | jobs
by M4v3R 883 days ago
The OP already explained that - because people want their package.json scripts to be cross-platform, and „rm” does not exist on Windows. So instead you add rimraf to your dependencies and use that instead of rm in your scripts.