Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 1.53 KB

readme.md

File metadata and controls

53 lines (37 loc) · 1.53 KB

move-binaries-to-bin

NPM version Build Status Greenkeeper Status

Problem

If you use eslint/styleint or another executable package as dependency of dependency (see eslint-config-kupibilet), yarn and pnpm will not install binaries into ./node_modules/.bin. This script will help you to move binaries after installation.

Supported packages

Feel free to submit issues for any of packages.

Install

yarn add move-binaries-to-bin --dev

or

npm i move-binaries-to-bin --save-dev

Usage

Add postinstall hook into your npm script that contains move-bin:

{
  "name": "your-project",
  "scripts": {
    "postinstall": "move-bin"
  }
}

Also you can always run ./node_modules/move-bin

License

MIT © kupibilet.ru