提交 4bc3ae9a 编写于 作者: 麦壳饼's avatar 麦壳饼

update npm

上级 5be81dba
......@@ -332,3 +332,4 @@ ASALocalRun/
/.vscode
/Clients/MQTTClient/.vscode
/IoTSharp/ClientApp.rar
/IoTSharp/ClientApp/package-lock.json
......@@ -101,13 +101,13 @@
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install --registry=https://registry.npm.taobao.org" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install -g @vue/cli --registry=https://registry.npm.taobao.org" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install " />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install -g @vue/cli " />
</Target>
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install --registry=https://registry.npm.taobao.org" />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install " />
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build:prod" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册