1.0.2 • Published 9 years ago
move-binaries-to-bin v1.0.2
move-binaries-to-bin
Problem
If you use eslint/styleint or another executable package as 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.
Install
yarn add move-binaries-to-bin --devor
npm i move-binaries-to-bin --save-devUsage
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