Skip to content

Instantly share code, notes, and snippets.

@davecra
Created October 22, 2023 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davecra/eb7c6194721129b7ee696e94575947f3 to your computer and use it in GitHub Desktop.
Save davecra/eb7c6194721129b7ee696e94575947f3 to your computer and use it in GitHub Desktop.
Common.js for Power-Up
const PACKAGE = require('../../package.json');
/**
* CommonFunctions to be shared across all the project
*/
export default class Common {
/** @type {String} */
static APPNAME = PACKAGE.appName;
/** @type {String} */
static VERSION = PACKAGE.version;
/** @type {String} */
static detailsPage = "./details.html";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment