Skip to content

Dependencies

Dependencies are managed in package.json. This file is used by pnpm to manage the project's dependencies, scripts, and versioning.

Dependencies

  1. Only add a package if you really need it.
  2. Update them regularly. At least once per month.
  3. You can add a package as a dev dependency if it's only used for development.

Adding a dev dependency

pnpm i -D jest

Adding a dependency

pnpm i typeorm