JSPM

  • Created
  • Published
  • Downloads 319351
  • Score
    100M100P100Q184549F
  • License MIT

Link bins to node_modules/.bin

Package Exports

  • @pnpm/link-bins

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pnpm/link-bins) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@pnpm/link-bins

Link bins to node_modules/.bin

npm version Build Status

Installation

<pnpm|yarn|npm> add @pnpm/link-bins

Usage

import linkBins, {linkBinsOfPackages} from '@pnpm/link-bins'

function warn (msg) { console.warn(msg) }

await linkBins('node_modules', 'node_modules/.bin', {warn})

const packages = [{manifest: packageJson, location: pathToPackage}]
await linkBinsOfPackages(packages, 'node_modules/.bin', {warn})

License

MIT © Zoltan Kochan