简体   繁体   English

如何将外部git repo的脚本集成到grunt package.json中

[英]How to integrate a script of an external git repo into the grunt package.json

I just stumbled upon grunt and i wonder how to integrate 我偶然发现咕unt声,不知道如何整合

  1. local JS Scripts into package.json and 本地JS脚本放入package.json和
  2. how to load an external JS Library ( for example) from git 如何从git加载外部JS库(例如)

Is the package.json the right place for that? package.json是否合适? How should I include external JS Libs in my project with grunt? 我应该如何在我的项目中包括外部JS库?

You can use Grunt-Execute to execute the external JS for your project . 您可以使用Grunt-Execute为您的项目执行外部JS。 From the comments the Appear doesnt sound like a script to me. 从评论看来,“ 出现”听起来不像是我的剧本。 Not sure how it fits in Build cycle 不确定它是否适合构建周期

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM