Configuring npm and creating a package.json

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

In this lesson, you'll learn how to set up your machine to publish to npm so people can install your library. You'll configure some helpful defaults and use those to create a package.json file for your project using npm init.

Chad Elofson
~ 2 years ago

Do you still set save-exact today?

Lucas Minter
~ 2 years ago

Do you still set save-exact today?

It depends on how sensitive the dependency is going to be. Some people think this should be the default behavior. Here is an article I found on it.