1.0.0 • Published 2 years ago
@testashe/tnd v1.0.0
Publishing to NPM
- Make sure that the package name is unique -
name
field. - Specify which files should be sent to NPM when we publish -
files
field. - Split
dependencies
anddevDependencies
. - Set the package to be publicly accessible -
publishConfig > access
field. - If building a CLI, configure the file to run -
bin
field.- Also add the configuration
#!/usr/bin/env node
to top of the file.
- Also add the configuration
- Add a
prePublish
script. - Commit to git.
- Run
npm publish
.
1.0.0
2 years ago