1.0.0 • Published 2 years ago
minny-npm-deploy v1.0.0
Publishing to NPM
- Make sure our package name is unique
- Specify which files should be sent to NPM when we publish
- Split our
dependencies
anddevDependencies
- 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
1.0.0
2 years ago