Executes the lint script when package.json defines one and exits silently when it does not. Useful for shared commands across projects that may lack a script. npm run without arguments lists every available script.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.