简体   繁体   English

Difference between angular.json and package.json in angular project

[英]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.

相关问题 在没有 package.json、angular.json 等的情况下创建的新 Angular 项目 - New Angular project created without package.json, angular.json, etc Angular - 构建配置中“优化”和“buildOptimizer”之间的区别(angular.json) - Angular - Difference between “optimization” and “buildOptimizer” in the build config (angular.json) 关于 angular.json - Regarding angular.json 在 angular 项目 package.json 中添加 react 项目作为依赖 - Add react project as dependency in angular project package.json angular-cli package.json和ng -v版本之间有什么区别 - angular-cli what is the difference between version of package.json and ng -v Angular 项目中angular.json 中的styles 和stylePreprocessorOptions 有什么不同 - What's the different between styles and stylePreprocessorOptions in angular.json in a Angular project 通过 angular.json 文件在 Angular 项目中引导 5 - Bootstrap 5 in angular project via angular.json file Angular 项目结构,带有单独的 package.json 文件 - Angular Project Structure with separate package.json files 如何在角度项目中禁用 package.json 中的 eslint? - How to disable eslint from package.json on an angular project? 在angular.json和组件中导入库之间的区别 - Differences between importing libs in angular.json and component
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM