Detalhes do pacote

babel-plugin-bin-shebang

bconnorwhite33MIT1.0.3

Prepend node shebang to bin files

babel, plugin, bin, shebang

readme (leia-me)


Prepend node shebang to bin files.

This shebang will be added to each file listed in the bin field of your project's package.json:

#!/usr/bin/env node

Installation

yarn add babel-plugin-bin-shebang
npm install babel-plugin-bin-shebang

Usage

In babel.config.json:

{
  "plugins": [
    "babel-plugin-bin-shebang"
  ]
}


Dependenciesdependencies

  • @bconnorwhite/package: A utility for reading package.json of a project, and forming paths relative to it.


Dev DependenciesDavid


License license

MIT

changelog (log de mudanças)

1.0.3 (2020-10-02)

1.0.2 (2020-10-02)

1.0.1 (2020-10-02)

1.0.0 (2020-10-02)