npm-package-json-lint icon indicating copy to clipboard operation
npm-package-json-lint copied to clipboard

Use `npm-run-all` to run internal lint scripts

Open bmish opened this issue 2 years ago • 2 comments

  • Reorganizes lint NPM scripts with popular tool npm-run-all to be more scalable
  • Avoids using && which might not have as good of cross-platform support according to the npm-run-all readme

bmish avatar Nov 27 '21 20:11 bmish

Hey @bmish is there another option we could use? npm-run-all hasn't been released in many years and some of the deps have vulnerabilities.

tclindner avatar Feb 26 '22 15:02 tclindner

Hey @tclindner that's a fair point. Unfortunately, I'm not currently aware of any popular alternatives. Feel free to close this if you're not interested.

Some points in favor of using:

  • 2.8 million weekly downloads according to NPM
  • It's used by many, many popular repositories/frameworks--for example, anyone generating an Ember app will receive it automatically
  • I've used this in dozens of projects for years without issue
  • It's a dev-dependency so vulnerable or outdated dependencies aren't as worrisome as with actual dependencies

bmish avatar Mar 02 '22 20:03 bmish