1.0.11 • Published 7 years ago

bin-shebang v1.0.11

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

bin-shebang

Add an Unix-style shebang line (#!/usr/bin/env node) to the file specified by 'main' in package.json, and save it at the path specified by 'bin'.

Usage

bin-shebang is a small build helper that will stage an executable file for an npm package, based on the values of 'main' and 'bin' in package.json.

Example configuration:

{
  "main": "src/index.js",
  "bin": "bin/index.js",
  "scripts": {
    "build": "bin-shebang"
  }
}

License

MIT

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago