大多数情况下,当我需要将软件包安装为devDependency
但我忘记添加--save-dev
命令时,此安装最终为dependency
。
"dependencies": {
"@types/express": "^4.11.1"
},
"devDependencies": {
}
"dependencies": {
},
"devDependencies": {
"@types/express": "^4.11.1"
}
现在,我是否需要重新安装devDependency
或cut
并paste
中的devDependency
是否正常?