1.0.0 • Published 2 years ago

minny-npm-deploy v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Publishing to NPM

  • Make sure our package name is unique
  • Specify which files should be sent to NPM when we publish
  • Split our dependencies and devDependencies
  • Set our package to be publicly accessible
  • If building a CLI, configure the file to run
  • Add a prePublish script
  • Commit to git
  • Run npm publish !

Notes:

Adding the following line allows us to execute the file directly without having to specify node

#!/usr/bin/env node