Skip to content

laggingreflex/link-local-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

link-local-dependencies

Link your local paths as dependencies.

npm lets you do this too but unfortunately it breaks in certain cases.

Install

npm i link-local-dependencies

Usage

In your package.json

  • Put your local dependencies in "localDependencies"

  • Call link-local-dependencies in "postinstall" script

{
  "scripts": {
    "postinstall": "link-local-dependencies"
  },
  "localDependencies": {
    "root": "./root",
    "home": "~",
  }
}

About

Link local paths in node_modules

Resources

Stars

Watchers

Forks

Packages

No packages published