OptionalbinOptionalbinOptionalbinsOptionaldefaultOptionalenabledIf a bin's name matches with an entry here (which is by default every NPM hook, 'postinstall' 'prebuild' etc.) then it will be automatically added to your packageJson file's scripts. To not interfere with development, hooks invoked during install are disabled for the source packageJson and are only avilable in the distributed packageJson.
OptionalshimA directory where shims for the built bins would be placed All these scripts do is to import the yet-to-be-built binary so package managers hava something to symlink to before it's built.
! This folder has to be ignored by typescript as it contains broken ! imports before the package is built
AutoBin
Relative path from
srcDirif you want your exports to start from a different directory.