Some helper scripts and dev-dependencies for publishing a node module to NPM
-
install as dev dependency
yarn add --dev @bondvet/node-module-helper
-
move your sources to
src/
folder -
run
yarn build:watch
while developing. -
when finished, run
yarn publish
.