deport

A NodeJS Global Module Manager

Showing:

Popularity

Downloads/wk

4

GitHub Stars

1

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Deport

Deport is a small module to help installing global module dependencies while installing modules. Not sure how useful it is, but I create this since my project require global modules installed, and I won't to ask the users to install the required global modules manually.

Usage

You only need to add preinstall script and cliDependencies to your package.json file.

The preinstall script should contains npm install -g deport && deport to ensure the deport installed, and then run the deport. The cliDependencies should be an array.

Example

{
  "name": "node-module",
  "version": "1.0.0",
  "scripts": {
    "preinstall": "npm install -g deport && deport"
  },
  "cliDependencies": [ "pm2", "forever", "sails" ]
}

When you run npm install on your project, the npm will install and run the deport before installing the dependencies and devDependencies.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100