Answers for "npm dev dependencies"

18

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
Posted by: Guest on August-10-2020
8

npm install dev dependencies only

npm i -D
Posted by: Guest on December-08-2020
7

npm install dev dependencies

npm install <package-name> --save-dev
Posted by: Guest on June-28-2020
2

npm install in dev mode

npm install packageName --save-dev
Posted by: Guest on November-07-2020
1

npm install and add to dependancies

npm i packageName -save
Posted by: Guest on December-06-2020

Code answers related to "npm dev dependencies"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language