babel-plugin-bin-shebang
v1.0.3
Published
Prepend node shebang to bin files
Maintainers
Readme
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 nodeInstallation
yarn add babel-plugin-bin-shebangnpm install babel-plugin-bin-shebangUsage
In babel.config.json:
{
"plugins": [
"babel-plugin-bin-shebang"
]
}- @bconnorwhite/package: A utility for reading package.json of a project, and forming paths relative to it.
- @babel/core: Babel compiler core.
- @babel/types: Babel Types is a Lodash-esque utility library for AST nodes
- @bconnorwhite/bob: Bob is a toolkit for TypeScript projects
- @types/node: TypeScript definitions for Node.js
