Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
package.json declares project metadata, scripts, and dependency ranges. package-lock.json records the resolved dependency tree for more reproducible installs.
A range in package.json can permit several package versions. The lockfile records specific resolutions and integrity information, including transitive dependencies. Committing it helps teammates and CI install a consistent tree. It does not remove the need to review dependency changes or ensure the same runtime and platform assumptions. node_modules normally remains outside version control.