-
- Rmove all
~
,^
from versions inpackage.json
- Create initial
package.lock
- Rmove all
- Create
/Users/<user-name>/.npmrc
or%USERPROFILE%\.npmrc
or hereecho $(npm config ls -l)
- Fill
.npmrc
with this content@netcracker:registry=https://corp-npm-server.com/path-to-internal-packages/ registry=https://corp-npm-server.com/path-to-external-packages/
- Command
ornpm i --ignore-scripts
npm ci --ignore-scripts
Last active
March 18, 2022 12:20
-
-
Save gorshkov-leonid/218a82cbfacbad943d89c36bf7ab6436 to your computer and use it in GitHub Desktop.
Avoid NPM vulnarabilities
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment