@ahmadnassri/npm-install-group

1.0.0 • Public • Published

npm-install-group version License

Dependency grouping for npm-install

Build Status Downloads Code Climate Coverage Status Dependency Status Dependencies

Install

npm install --only=production --save @ahmadnassri/npm-install-group
package.json
{
  "dependencies": {
    "abc": "1.2"
  },

  "devDependencies": {},

  "fooDependencies": {
    "a": "*",
    "b": "*"
  }
}

CLI

$ npm-install-group dev

$ npm-install-group foo --ignore-scripts 

API

use as a module

packages(cwd, group)

const packages = require('@ahmadnassri/npm-install-group')

packages(process.cwd(), 'foo')
returns
[
  "package-a@^1.3",
  "package-b@^2.0",
  "package-b@^0"
]

TODO

  • [ ] stream stdout

©️ ahmadnassri.com  ·  License: ISC  ·  Github: @ahmadnassri  ·  Twitter: @ahmadnassri

Readme

Keywords

Package Sidebar

Install

npm i @ahmadnassri/npm-install-group

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • ahmadnassri