[英]Difference between angular.json and package.json in angular project
What is the difference between angular.JSON
and package.JSON
in an angular project? What is the difference between
angular.JSON
and package.JSON
in an angular project?
package.json
is not related to angular's ecosystem. package.json
与 Angular 的生态系统无关。 It's npm's ecosystem and its responsible for keeping meta data about pacakges/libraries you use as your dependency.它是 npm 的生态系统,它负责保存有关您用作依赖项的 pacakges/库的元数据。 https://docs.npmjs.com/cli/v7/configuring-npm/package-json
https://docs.npmjs.com/cli/v7/configuring-npm/package-json
angular.json
is related to angular ecosystem, its responsible for your angular app configuration. angular.json
与 angular 生态系统相关,它负责您的 ZD18B8624A0F5F7621DA7B823Z5FC 应用程序配置You can learn more from official angular docs.您可以从官方 angular 文档中了解更多信息。
https://angular.io/guide/workspace-config https://angular.io/guide/workspace-config
Package.JSON holds all of the “npm” packages installed for the project. Package.JSON 包含为项目安装的所有“npm”包。 Angular.JSON holds the configuration for the project.
Angular.JSON 保存项目的配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.