这是我的包裹:
{
"name": "any name :D",
"version": "3.2.0",
"nameVersion": "",
"descriptionVersion": "",
"engines": {
"node": "14.15.0"
},
"description": ":D",
"main": "src/index.js",
"scripts": {
"start": "node ."
},
"author": "",
"license": "",
"dependencies": {
"discord.js": "^12.5.1",
"express": "^4.17.1"
}
}
npm init正如你所看到的,还有两个键,nameVersion 和 descriptionVersion。我放了一些通常是 npm 的东西?就像,即使没有错误,这是一种不好的做法吗?还是我只是在旅行?好吧,我测试了它,它工作正常,但我仍然在考虑它..