DEV Community

Discussion on: Package.json File explained!!!

Collapse
lakshmananarumugam profile image
Lakshmanan Arumugam

Good article @naveenchandar . well explained each options with example. recent days one option added in package.json. This option also useful for now a days.

Example:

"resolutions": {
    "d2/left-pad": "1.1.1",
    "c/**/left-pad": "^1.1.2"
  }
Enter fullscreen mode Exit fullscreen mode

More info

Collapse
naveenchandar profile image
Naveenchandar Author

Yeah but this is available only on Yarn right?. Correct me if I'm wrong.

Collapse
lakshmananarumugam profile image
Lakshmanan Arumugam • Edited

Yes. I guess now a days most of the people using yarn only.

I Forgot to add this note: This option only useful for who using yarn package manager in their project.