Fix bin config in package.json #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-bin-entry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1
Currently this module is not exposed as binary, which leads to error when running it with npm scripts like
"build_demo": "builddocs". To fix this we can simply add shebang in./binwithbinentry in package.json. This configuration is tested in these cases:"builddocs"in npm scripts does not throw error.npm linkin source dir and we can usebuilddocsvia terminal command.node ./bin/builddocs.jsremains intact.See also package.json docs.
Thanks! Merged and released as 0.3.2