Retrieve the contents of the package.json file.
package.json
(Promise<object>): A promise that fulfills with a plain object.
Promise<object>
import lampix from '@lampix/core';lampix.getAppMetadata() .then((pkg) => { console.log(pkg.name); // logs the name property from package.json });