Just so you know, "package.json" isn't a Netlify specific thing. The file package.json contains the settings for which npm packages you'll need in order to use and build the project your are working on.
By entering npm install __[some-library]__ what you are doing is adding the "some-library" to your project. This line will automatically insert "some-library": "^1.23" into your package.json under "dependencies",as well as download the file(s) that actually make up "some-library"... (those numbers at the end are the version you are using).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well. Sorta.
Just so you know, "package.json" isn't a Netlify specific thing. The file package.json contains the settings for which npm packages you'll need in order to use and build the project your are working on.
By entering
npm install __[some-library]__
what you are doing is adding the "some-library" to your project. This line will automatically insert"some-library": "^1.23"
into your package.json under "dependencies",as well as download the file(s) that actually make up "some-library"... (those numbers at the end are the version you are using).