ggg-test
v1.1.4
Published
测试发布npm
Downloads
11
Readme
https://www.cnblogs.com/calamus/p/8384318.html
- npm init 初始化包
- 本地测试
- npm pack : 会生成一个 tgz 版本文件
- npm install 路径/<npm pack 生成的文件> (打开一个新的项目,路径为刚刚生成的路径)
- 提交发布
- 登陆账号: npm adduser Username: your name Password: your password Email: yourmail
疑问
- npm 中的包肯定和源码是不一样的(npm 下载之后的包以及 github 官方源码的对比可得),那么是在源码中进行了什么样的操作之后才发布的呢?(直接打包?)