minny-npm-deploy
v1.0.0
Published
- 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 `
Downloads
1
Readme
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