【发布时间】:2021-05-13 08:15:17
【问题描述】:
我想使用 npm 脚本访问 directories 中的密钥。
"directories": {
"client": "client",
"server": "server"
},
"scripts": {
"test:client": "npm run local-tests --prefix ./$npm_package_directories_client",
}
但是在将 npm 从 6.x.x 更新到 7.5.x 之后,我不能再这样做了。
我如何使用新的 npm 做到这一点?
谢谢
【问题讨论】:
-
我可以使用
npm@6.14.11和npm@7.5.3复制它
标签: javascript node.js typescript npm