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 
Shell :: docker save 
Shell :: linux get first line of file 
Shell :: move view vim 
Shell :: bash array initialization multiple lines 
Shell :: gitignore file without extension 
Shell :: how to install wireshark 
Shell :: how to update forked repo in github 
Shell :: githu copilot 
Shell :: install pip archlinux 
Shell :: vagrant run paralel 
Shell :: git replace local branch with remote 
Shell :: find string terminal 
Shell :: download file using scp hostfile 
Shell :: Required Windows feature(s) not enabled : Hyper-V and Containers 
Shell :: (28: No space left on device) 
Shell :: git push u origin master 
Shell :: installing snap store 
Shell :: install brew 
Shell :: How to check a service status with systemctl command 
Shell :: flutter run all devices 
Shell :: Google Chrome freeze uploading a file ubuntu 22.04 
Shell :: kubectl logs tail 100 
Shell :: tcpdump filter ip address 
Shell :: linux change user in terminal 
Shell :: docker run container in background 
Shell :: Redis::CommandError: MISCONF Redis is configured to save RDB snapshot 
Shell :: open podfile in xcode from terminal 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =