What is the difference between angular.JSON
and package.JSON
in an angular project?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With