Skip to main content

XpmDataModel._jsonPackage property

The JSON package definition.

Signature

protected _jsonPackage: JsonXpmPackage;

Remarks

This object contains the complete package.json content, including both standard npm fields and xpm-specific extensions in the xpack section.

Required structure:

  1. Standard npm fields: name, version, dependencies, devDependencies.
  2. Required xpack section containing xpm-specific configuration.
  3. Optional xpack.properties for user-defined substitution variables.
  4. Optional xpack.actions for package-level executable actions.
  5. Optional xpack.buildConfigurations for build configuration definitions.

The package definition is validated during construction, requiring the xpack section to be present and be a valid JSON object.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.