UNPKG

html5-plus

Version:

html5 plus typescript DefinitelyTyped (alpha...)

41 lines (28 loc) 1.07 kB
#先登录你的账号 \$ npm adduser Username: your name Password: your password Email: yourmail npm who am i # 如果不成功则重新登录一下 npm login 配置成功之后提交代码 npm publish #一些常见的错误: ##FAQ:1.no_perms Private mode enable, only admin can publish this module 这是因为镜像设置成淘宝镜像了,设置回来即可 npm config set registry http://registry.npmjs.org "version": "0.0.4"//自己手动修改版本才能提高。 # git 基础库or create a new repository on the command line echo "# html5-plus" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/westsky/html5-plus.git git push -u origin master …or push an existing repository from the command line git remote add origin https://github.com/westsky/html5-plus.git git push -u origin master …or import code from another repository You can initialize this repository with code from a Subversion, Mercurial, or TFS project. Import code