@testashe/tnd

1.0.0 • Public • Published

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.

/@testashe/tnd/

    Package Sidebar

    Install

    npm i @testashe/tnd

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    1.28 kB

    Total Files

    4

    Last publish

    Collaborators

    • spaceamit