Windows 10 x64
相符合的
this
C:\Users\bushm\.npmrc
包含内容的文件:
author = "Andrey Bushman"
npm init -y
我在中看到的新目录中的命令
package.json
财产
author
是空的:
{
"name": "foo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
此外,我还通过命令完成了:
npm config set author "Andrey Bushman"
但是我得到了同样的结果。。。