DEV Community

Discussion on: Yarn audit fix: workaround

Collapse
 
patrykmilewski profile image
Patryk Milewski

Very nice tool, my suggestion would be to create a custom script in package.json:

"audit:fix": "npx yarn-audit-fix",
Enter fullscreen mode Exit fullscreen mode

And of course yarn-audit-fix as devDependency.

So it's even easier to run audit fix:

yarn audit:fix
Enter fullscreen mode Exit fullscreen mode