Methods
(inner) checkPackageThemeConsistent()
Will throw an error if package.json[name] != theme.json[name]
- Source:
Throws:
console.error & process.exit(1) if package.json[name] != theme.json[name]
Returns:
undefined
(inner) getThemeName() → {string}
Get theme name from theme.json
- Source:
Throws:
console.error & process.exit(1) if theme.json does not exist
Returns:
- Type
- string
(inner) isChildTheme() → {boolean}
check is child theme
- Source:
Throws:
console.error & process.exit(1) if theme.json does not exist
Returns:
true if child theme, false if not
- Type
- boolean