简体   繁体   English

跨项目管理第三方Javascript库

[英]Managing 3rd Party Javascript Libraries Across Projects

The company I work for develops and maintains multiple web-based products. 我工作的公司开发和维护多个基于Web的产品。 We have been pushing the teams to standardize and reuse 3rd party libraries of all kinds across prod. 我们一直在推动团队标准化和重复使用各种类型的第三方库。 dev. 开发。 We use Ivy to manage jar file dependencies for Java. 我们使用Ivy来管理Java的jar文件依赖项。 We use Python eggs in combination with custom build RPMs to manage Python dependencies. 我们将Python egg与自定义构建RPM结合使用来管理Python依赖项。

I was wondering if there is a similar way to manage Javascript dependencies (eg jquery, raphaeljs, etc.). 我想知道是否有类似的方法来管理Javascript依赖(例如jquery,raphaeljs等)。

Perhaps you would like to check RequireJS or Ender . 也许你想检查RequireJSEnder

[Update] [更新]

As of today, 31 March 2017, there are a lot of different package managers and/or tools you could use to manage front-end libraries (npm, bower, rollup, etc.), but I currently found Yarn and Webpack 2 most interesting. 截至2017年3月31日,您可以使用许多不同的软件包管理器和/或工具来管理前端库(npm,bower,汇总等),但我目前发现YarnWebpack 2最有趣。

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

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