package.json

The package.json file contains metadata about your experience, including package dependencies.

Declaring dependencies means that we only include those packages that are used in the smartserve bundle, which is good for performance and bundle size.

For more information about packages, see Packages & Code Re-use.

If you use Qubit CLI, the package.json also stores some additional metadata that allows the CLI to distinguish between the experiences stored on your local file system.

Last updated: July 2021
Did you find this article useful?