I have a project that include a gulp task for building and packaging the sources and release in a directory called dist. My goal is publish it as a npm package,
dist
option 1: Navigate to the folder and execute "npm publish ." command
option 2: Run npm publish /path/directory