很多开源项目里的 package.json 里都有一些下划线的参数,查了官方文档并没找到相关解释,很想知道是干什么用的,怎么用
例如:vue 的 package.json
{
"_args": [
[
{
"raw": "vue@^2.2.2",
"scope": null,
"escapedName": "vue",
"name": "vue",
"rawSpec": "^2.2.2",
"spec": ">=2.2.2 <3.0.0",
"type": "range"
}
]
],
"_from": "vue@>=2.2.2 <3.0.0",
"_id": "vue@2.4.2",
"_inCache": true,
"_location": "/vue",
"_nodeVersion": "8.1.4",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/vue-2.4.2.tgz_1500611321854_0.16039316589012742"
}
....
}
幕布斯7119047
相关分类