1.0.4 • Published 2 years ago

link-dev v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Link your local npm packages automatically by a config file

npm, yarn, pnpm package managers are supported.

Installation

npm install link-dev -g

Usage

Config your local packages at root path of your project, for package.local.json.

The key is the name of the package, and the value is the local path of the package (both absolute and relative paths are supported).

json config for example:

{
  "my-components": "../components",
  "my-utils": "/Users/yangyong/utils"
}

Then, you can configure the 'link-dev' command to pre-boot.

package.json, for example:

//...
"scripts": {
  "dev": "link-dev && xxxxxxxx",
}
//...

Options

  • config: custom your config file, default: package.local.json.

    link-dev --config myConfigFile.json

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago