test-somnus
v1.0.2
Published
test publish npm
Downloads
1
Readme
npm 说明
1、name: 模块名,发布之后可以让用户通过npm install *** 来安卓引用该模块; 2、version:版本号,语义版本号分为X.Y.Z三位,分别代表主版本号、次版本号和补丁版本号。当代码变更时,版本号按以下原则更新。
如果只是修复bug,需要更新Z位。 如果是新增了功能,但是向下兼容,需要更新Y位。 如果有大变动,向下不兼容,需要更新X位。
3、description: 简单介绍自己的模块
4、main: 入口文件,必要,当通过require('xxx')时,是读取main里声明的文件 5、test command: 测试命令 6、git repository: 7、git仓库地址 8、keywords: 关键词,可以通过npm搜索你填写的关键词找到你的模块 9、author: 作者信息,可以之后编辑更详细一些 10、license(ISC): 代码授权许可
发布流程说明
1、npm login username:imsomnus password:记住 email: 2、npm publish