test-npm-package-test-string
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

TEST npm package

Instruction, to deploy npm package

  1. npm init
  2. Edit package.json data
  3. install required packages
  4. build your package
  5. npm run build
  6. Test your package:
    1. npm pack (publishing package locally, it created tgz file,)
    2. npm install < path_to_package_where_it_was_created >
    3. run code in cli: node < file_name >.js
    4. run in index.html
      1. npm install -g browserify
      2. browserify index.js -o bundle.js (this will create fill with all required packages)
      3. import created file: <script src="bundle.js"></script>
  7. Publish package:
    1. npm adduser
    2. npm run build
    3. Push changes to git repository
    4. npm publish (ast line returned is name of your package)
  8. Update packages
    1. npm adduser
    2. npm run build
    3. Push changes to git repository
    4. Update version
      1. npm version patch (Increment the patch version 1.0.0 -> 1.0.1)
      2. npm version minor (1.0.0 -> 1.1.0)
      3. npm version major (1.0.0 -> 2.0.0)
    5. npm publish (ast line returned is name of your package)

Readme

Keywords

Package Sidebar

Install

npm i test-npm-package-test-string

Homepage

google.com

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

35.1 kB

Total Files

10

Last publish

Collaborators

  • iamigi