1.0.1 • Published 5 years ago

@dtanphat9388/npm_package_scoped_demo v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

đây là demo hướng dẫn làm sao để push một node package đến npm registry

  1. create npm account
  2. git init and git remote add ...
  3. Tạo package.json
    • unscoped: npm init
    • scoped: npm init –-scoped=@<scoped_name>
  4. create readme.md
  5. create .npmignore, .gitignore
  6. write code ...

  7. publish package:

    1. npm login
    2. npm publish