Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

npm default 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
Comment

PREVIOUS NEXT
Code Example
Shell :: docker compose install ubuntu 
Shell :: apt list only security updates 
Shell :: launch bash script from application mac without opening terminal 
:: docker pack image to file 
Shell :: git get commit author 
Shell :: clone branch in git 
Shell ::  
Shell :: bash check length of variable 
Shell :: grep ignore binary file 
:: ImportError: No module named alsaaudio 
Shell :: pip install --upgrade 
Shell :: git clone in current directory 
Shell ::  
:: check total folder size linux 
Shell :: hw to login to git 
Shell :: git clone with subrepos 
Shell :: execute command remotely by ssh 
:: prettier code formatter is removing ; 
Shell :: reload fstab 
Shell :: how to update git in vscode 
Shell ::  
Shell :: npm legacy-peer-deps 
Shell :: install latest angular cli 
Shell :: how to uninstall a software in ubuntu 
Shell :: install best torrent app for linux 
:: centos copy folder 
::  
Shell :: vim remove line by pattern from all files 
:: install flask 
::  
ADD CONTENT
Topic
Content
Source link
Name
7+7 =