“npm init y” Code-Antworten

npm init y

npm init -y
//will simply generate an empty npm project without going through an interactive process.
//The -y flag when passed to NPM commands tells the generator to use the defaults instead of asking questions.
//The -y stands for yes. 
Revision Only

NPM Standard init

npm config ls -l	# List some default settings

npm config set <key> <value> -g	# Set default value for a key
npm config set init-author-name "John Doe" -g	# Set default author
npm config set init-version "1.0.0" -g	# Set default version
npm config set init-license "MIT" -g	# Set default license

npm config get <key>	# Get default value for a key

npm init -y	# Create package.json with default settings
garzj

Ähnliche Antworten wie “npm init y”

Fragen ähnlich wie “npm init y”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen