Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

angular

What is the difference between angular.JSON and package.JSON in an angular project?

like image 428
Brijesh Ray Avatar asked Oct 18 '25 02:10

Brijesh Ray


1 Answers

package.json is not related to angular's ecosystem. It's npm's ecosystem and its responsible for keeping meta data about pacakges/libraries you use as your dependency. https://docs.npmjs.com/cli/v7/configuring-npm/package-json

angular.json is related to angular ecosystem, its responsible for your angular app configuration. You can learn more from official angular docs.

https://angular.io/guide/workspace-config

like image 173
Piosek Avatar answered Oct 20 '25 16:10

Piosek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!