@testashe/tnd
v1.0.0
Published
1. Make sure that the package name is unique - `name` field. 2. Specify which files should be sent to NPM when we publish - `files` field. 3. Split `dependencies` and `devDependencies`. 4. Set the package to be publicly accessible - `publishConfig > acces
Readme
Publishing to NPM
- Make sure that the package name is unique -
namefield. - Specify which files should be sent to NPM when we publish -
filesfield. - Split
dependenciesanddevDependencies. - Set the package to be publicly accessible -
publishConfig > accessfield. - If building a CLI, configure the file to run -
binfield.- Also add the configuration
#!/usr/bin/env nodeto top of the file.
- Also add the configuration
- Add a
prePublishscript. - Commit to git.
- Run
npm publish.
