1.0.0 • Published 2 years ago

@testashe/tnd v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Publishing to NPM

  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 > access field.
  5. If building a CLI, configure the file to run - bin field.
    1. Also add the configuration #!/usr/bin/env node to top of the file.
  6. Add a prePublish script.
  7. Commit to git.
  8. Run npm publish.
1.0.0

2 years ago