这是我的 NPM 包 JSON,Git 存储库是在 json 中定义的。它是在 Kiln 托管的受密码保护的密码。但是 NPM 仍然抱怨缺少存储库字段?
这是错误 npm WARN package.json dateformat@1.0.2-1.2.3 No repository field。
这是我的 package.json 的内容
{
"name": "Pocket-to-Pocket",
"version": "1.0.0",
"description": "Card Management App For PFS",
"main": "Gruntfile.js",
"scripts": {},
"repository": {
"type": "git",
"url": "https://nyx.kilnhg.com/Code/Prepaid-Financial-Services/Group/Pocket-to-Pocket.git"
},
"author": "Nyx Digital",
"license": "All Rights Reserved.",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-imageoptim": "~1.2.12"
}
}