“npm init y” Ответ

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 по умолчанию 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

Ответы похожие на “npm init y”

Вопросы похожие на “npm init y”

Смотреть популярные ответы по языку

Смотреть другие языки программирования