package.json 的贡献者不会出现在 npm 网站上

jcu*_*bic 4 json node.js npm

我已在 package.json 中添加了贡献者数组,但该列表未显示在项目页面https://www.npmjs.com/package/jquery.terminal上

\n\n
  "author": {\n    "name": "Jakub Jankiewicz",\n    "email": "jcubic@onet.pl",\n    "url": "http://jcubic.pl/jakub-jankiewicz"\n  },\n  "contributors": [\n    {"name":"Johan","url":"https://github.com/johanjordaan"},\n    {"name":"Christopher John Ryan","email":"chrisjohnryan@live.com","url":"https://github.com/ChrisJohnRyan"},\n    {"name":"Zuo Qiyang","email":"zuoqy.gk@gmail.com","url":"http://zuoqy.com"},\n    {"name":"S\xc3\xa9bastien Warin","url":"http://sebastien.warin.fr"},\n    {"name":"Florian Sch\xc3\xa4fer","email":"florian.schaefer+github@gmail.com","url":"https://github.com/fschaefer"},\n    {"name":"Tomasz Ducin","email":"tomasz@ducin.it","url":"http://ducin.it"},\n    {"name":"Hasan","url":"https://github.com/JuanPotato"},\n    {"name":"Hraban Luyat","email":"hraban@0brg.net","url":"https://luyat.com"},\n    {"name":"Mateusz Paprocki","email":"mattpap@gmail.com","url":"https://github.com/mattpap"},\n    {"name":"Martin v. L\xc3\xb6wis","url":"https://github.com/loewis"},\n    {"name":"Robert Wikman","email":"rbw@vault13.org","url":"flatwired.com"},\n    {"name":"Steve Phillips","email":"steve@tryingtobeawesome.com","url":"https://tryingtobeawesome.com/"},\n    {"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io"},\n    {"name":"Juraj Vitko","url":"https://github.com/youurayy"},\n    {"name":"Yutong Luo","email":"yutong@yutongluo.com","url":"https://yutongluo.com"}\n  ],\n
Run Code Online (Sandbox Code Playgroud)\n\n

这是我的package.json 文件

\n\n

我已经在github上报告了这一点,但两天后没有回复,我决定向 SO 提问。

\n

ppa*_*jer 5

我认为您指的是模块页面右侧栏上的“协作者”框。它们听起来确实相似,但它们是不同的东西。NPM 不使用该contributors字段来填充该列表,但您可以手动或通过 CLI 向其中添加人员