DEV Community

Discussion on: Speed Tip: Use Typefaces.js in Gatsby to Locally Host Fonts

Collapse
 
the_riz profile image
Rich Winter

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).