Notorious Public Menace

    submodules-install

    1.0.2 • Public • Published

    submodules-install - NPM Submodules Installer

    This module provides a system for calling npm i on a list of locations, ultimately providing automatic submodule installation.

    From the provided submodule globs, it will only match directories that contain "package.json".

    Usage

    Install via npm:

    npm i submodules-install --save
    

    Add an array of strings using glob syntax to your package.json:

    "submodules": [
      "my_subdir/*",
      "my_subdir2/**"
    ]
    

    Then run:

    npx submodules-install
    

    Alternatively, you may also use preinstall, postinstall, or otherwise:

    "scripts": {
      "preinstall": "submodules-install"
    }
    

    Install

    npm i submodules-install

    DownloadsWeekly Downloads

    256

    Version

    1.0.2

    License

    GPL-3.0

    Unpacked Size

    3.03 kB

    Total Files

    3

    Last publish

    Collaborators

    • kettek