Skip to content

danweiyuancircle/npm-publish-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1、去官网注册账号

https://www.npmjs.com/

2、登录注册的账号

指定登录npm的镜像源,国内本地大多数会指定其他的镜像源

npm login --registry=https://registry.npmjs.org

3、将ts打包成js

npm run build

4、发布到npm仓库

npm publish

About

发布ts包到npm仓库的模版工程

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published