Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.
/ npmajor Public archive

πŸ“¦πŸ“Œ Install npm packages while keeping only their major version in package.json

License

Notifications You must be signed in to change notification settings

desko27/npmajor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦πŸ“Œ npmajor

Install npm packages while keeping only their major version in package.json

npmajor-caption

Installation

npm i -g npmajor

Usage

To install dependencies

All the following commands are a valid way to install packages on dependencies.

npmajor <packages ...>
npmajor i <packages ...>
npmajor install <packages ...>

To install devDependencies

Use official --save-dev flag to install packages on devDependencies. Alias -D is also available.

npmajor --save-dev <packages ...>
npmajor i --save-dev <packages ...>
npmajor install --save-dev <packages ...>

About

πŸ“¦πŸ“Œ Install npm packages while keeping only their major version in package.json

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published