Problem Statement
What is the purpose of package.json and dependencies in a React app?
Explanation
package.json lists your app’s metadata, scripts, and dependencies. It tells npm which libraries to install and how to run build or start commands. Dependencies are runtime libraries; devDependencies are for development tools like ESLint or Webpack.
Practice Sets
This question appears in the following practice sets: