1.0.1 • Published 2 years ago
miniscule-npm-deploy v1.0.1
instructions what to do before publishing a package to NPM:
- Make sure the package has a unique name
- Specify which files should be sent to NPM - add "files" to package.json
- Split out 'dependencies' and 'devDependencies'
- Set out package to be publicly accessible - add "publishConfig" to package.json
- If building a CLI, configure the file to run
- add "bin" to package.json and point to the file
- add shebang to the file
- Add a 'prePublish' script to your package.json
- Commit to git
- Run
npm publish