其他字段

其他字段

关于package.json的更多字段,请参考Packages/1.0

description

属性:配置的描述说明,以.结束

version

属性:应用版本信息

maintainers

属性:维护成员

"maintainers":[ {
   "name": "Bill Bloggs",
   "email": "billblogs@bblogmedia.com",
  " web": "http://www.bblogmedia.com",
}]

contributors

属性:贡献者,与维护成员格式一致,但首个应为作者

bugs

属性:提交错误的网址,如mail或http地址

licenses

属性:许可证列表

"licenses": [
   {
       "type": "GPLv2",
       "url": "http://www.example.com/licenses/gpl.html",
   }
]

dependencies

属性:必要依赖,组的顺序非常重要,较前条目具有较高优先级.

"dependencies": {
       "webkit": "1.2",
       "ssl": {
           "gnutls": ["1.0", "2.0"],
           "openssl": "0.9.8",
       },
}

homepage

属性:网站URL地址