@webacad/npm-bin-spread
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

NPM version Build Status

WebACAD/NpmBinSpread

Tool for spreading node_modules binaries in monorepository.

If you can, use lerna instead.

Installation

$ npm install --save-dev @webacad/npm-bin-spread

or with yarn

$ yarn add --dev @webacad/npm-bin-spread

Run in postinstall

This package should run automatically after any npm install or yarn install.

Modify your root package.json:

{
	"scripts": {
		"postinstall": "npm-bin-spread project-a project-b project-c"
	}
}

The command above will automatically symlink all root npm binaries into project-a, project-b and project-c directories.

Package Sidebar

Install

npm i @webacad/npm-bin-spread

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

12.6 kB

Total Files

20

Last publish

Collaborators

  • davidkcz