You can have multiple npmrc files that 'cascade'. If a company requires a npmrc in its repos for a custom artifactory, I recommend making a per-user config file as well, so it persists outside of individual repos.
The four relevant files are:
[[npm]] [[shell]]