NPM Install from package.json specifying registry

Viewed 18

In my .nprmc file, I have specified a specific internal registry (Artifactory) for my npm installs.

My question though is, is it possible to do an npm install for the dependencies listed in my package.json specifying a different registry for some of the modules?

Example:

  "dependencies": {
    "@quasar/extras": "^1.0.0",
    "core-js": "^3.6.5",
    "quasar": "^2.3.4",
    "vue": "^3.0.0",
    "vue-router": "^4.0.0",
    "vuex": "^4.0.1",
    "extra-module": "^2.3.1" -- I need to get this module from a different registry
  },

How can I make npm install (from package.json) to download extra-module from a different registry?

Thanks!

0 Answers
Related