mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-11 02:52:07 +00:00
refactor(npm): inline packages and drop unused dependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# install-npm-packages
|
||||
|
||||
Installs global npm packages listed in `config/npm/packages`.
|
||||
Install npm packages defined in the script.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -8,4 +8,11 @@ Installs global npm packages listed in `config/npm/packages`.
|
||||
scripts/install-npm-packages.sh
|
||||
```
|
||||
|
||||
Uses `npm install -g` for each package in the configuration file.
|
||||
## What it does
|
||||
|
||||
1. Checks that `npm` is available.
|
||||
2. Installs each package from the inline list using `npm install -g`.
|
||||
3. Upgrades all global packages.
|
||||
4. Cleans the npm cache.
|
||||
|
||||
To add or remove packages, edit the `packages` array in `scripts/install-npm-packages.sh`.
|
||||
|
||||
Reference in New Issue
Block a user