```ts project.npmrc.addConfig('//registry.npmjs.org/:_authToken', '${NPM_TOKEN}'); ``` This should be an option in the project properties. Make it false by default, but make it easy to enable if the project needs private npm packages.