1.0.1 • Published 2 years ago

miniscule-npm-deploy v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

instructions what to do before publishing a package to NPM:

  1. Make sure the package has a unique name
  2. Specify which files should be sent to NPM - add "files" to package.json
  3. Split out 'dependencies' and 'devDependencies'
  4. Set out package to be publicly accessible - add "publishConfig" to package.json
  5. If building a CLI, configure the file to run
    • add "bin" to package.json and point to the file
    • add shebang to the file
  6. Add a 'prePublish' script to your package.json
  7. Commit to git
  8. Run npm publish