selectn
Version:
Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.
13 lines (12 loc) • 398 B
Plain Text
# settled on a reverse white-list approach to mitigate the case where files you may not want published get published by default unless ignored or not included in white-list.
# use `irish-pub` to preview what will get published.
# by default, the following files are also included in the publish:
# - *.md
# - package.json
# - license
*
!.npmignore
!bower.json
!index.js
!selectn.js
!selectn.min.js