Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

npm dev dependencies

# install as devDependency
npm install <package-name> --save-dev

# install as normal dependency
npm install <package-name> --save

# install all devDependencies listed in package.json
npm install --only=dev

# install all normal dependencies listed in package.json
npm install --only=prod
# or if NODE_ENV is set to production
npm install
Comment

npm install dev dependencies only

npm i -D
Comment

npm install dev dependencies

npm install <package-name> --save-dev
Comment

npm install without dev dependencies

npm install --only=prod
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install scoop using powershell 
Shell :: Ubuntu free ports in use 
Shell :: how to see how big a file is ubuntu terminal 
Shell :: CMake Error: Could not find CMAKE_ROOT !!! 
Shell :: gem pg install error mac os 
Shell :: remove git from project in windows 
Shell :: git code push 
Shell :: git get local branches 
Shell :: create repository and push to git using command in vs code 
Shell :: repair drive windows 
Shell :: linux bash clear log file space 
Shell :: find unix 
Shell :: bitbucket how to undo commit 
Shell :: ubuntu spotify 
Shell :: install csv 
Shell :: pip install bootstrap 
Shell :: sudo add permissions to user 
Shell :: git reset hard for remote 
Shell :: how to create a group in linux 
Shell :: unstage files in git 
Shell :: tar compress powershell 
Shell :: taskbar directory windows 
Shell :: git diff files with main 
Shell :: find file in linux with regex 
Shell :: set permanant environemt variable 
Shell :: turn off screen linux 
Shell :: lookup function in terraform 
Shell :: install vlc rhel 
Shell :: install python debian 
Shell :: Usage Error: The nearest package directory 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =