We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm init
.npmrc
$ npm config set save=true $ npm config set save-exact=true
.profile
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
$ npm outdated
preinstall
postinstall
test
NODE_ENV
console.log("Node environment :" + process.env.NODE_ENV);
devDependencies
$ npm install --production
$ NODE_ENV=production npm install
The text was updated successfully, but these errors were encountered:
a0f3ffa
veit
No branches or pull requests
npm init
.npmrc
Don’t store the token directly in
.npmrc
but in.profile
and then link to it:preinstall
,postinstall
andtest
scriptsNODE_ENV
environment variablesdevDependencies
in productionTo install production dependencies, run
The text was updated successfully, but these errors were encountered: