Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Add "globalDependencies" option in package.json for installing global dependencies. #2949

@martinheidegger

Description

@martinheidegger

I found myself more than once now in the situation that I needed a module I depended on globally. I usually solved it by creating a separate script that would additionally call npm install -g. However this does become unreadable and at some point just messy to handle so I thought to formally ask: May it be possible to get a globalDependencies property that acts pretty much like the dependencies property but installs the referenced dependencies globally?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions