Skip to content

learn how to deliver a package(timer )to npm repository

Notifications You must be signed in to change notification settings

lxy224/Timer_npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Timer_npm

learn how to deliver a package(timer )to npm repository

  1. 安装好node和npm啦

  2. 我在github上创建了一个项目Timer_npm,然后git colon到本地: git clone git@github.com:lxy224/Timer_npm.git

  3. 之后执行npm init命令来初始化相关配置 npm init

  4. 发布 如果没有账号,需要在npmjs.com网站上注册相关账号,然后用于发布模块。基本命令如下: $ npm adduser Username: xiaoyingli Password: Email: (this IS public) 以上信息都是注册的时候填写的 然后就可以运行 npm publish 来发布模块 Timer_npm xiaoying$ npm publish

提示timer_npm@1.0.0,表示发布成功。

  1. 查看 接着刷新官网你就可以看到你上传的npm库了

About

learn how to deliver a package(timer )to npm repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published