generator-mc-d8-theme
Version:
Yeoman generator for creating Drupal 8 component based themes.
146 lines (145 loc) • 3.29 kB
JSON
{
"cacheBust": true,
"cleanPublic": true,
"defaultPattern": "all",
"defaultShowPatternInfo": false,
"ishControlsHide": {
"s": false,
"m": false,
"l": false,
"full": false,
"random": false,
"disco": false,
"hay": true,
"mqs": false,
"find": false,
"views-all": false,
"views-annotations": false,
"views-code": false,
"views-new": false,
"tools-all": false,
"tools-docs": false
},
"ishViewportRange": {
"s": [
240,
500,
240,
500,
240,
500
],
"m": [
500,
800,
500,
800,
500,
800
],
"l": [
800,
2600,
800,
2600,
800,
2600
]
},
"logLevel": "info",
"outputFileSuffixes": {
"rendered": ".rendered",
"rawTemplate": "",
"markupOnly": ".markup-only"
},
"paths": {
"source": {
"root": "./src/",
"patterns": "./src/patterns/",
"data": "./src/styleguide/data/",
"meta": "./src/styleguide/meta/",
"annotations": "./src/styleguide/annotations/",
"styleguide": "./dist/",
"patternlabFiles": {
"general-header": "views/partials/general-header.mustache",
"general-footer": "views/partials/general-footer.mustache",
"patternSection": "views/partials/patternSection.mustache",
"patternSectionSubgroup": "views/partials/patternSectionSubgroup.mustache",
"viewall": "views/viewall.mustache"
},
"js": "./dist/js",
"images": "./dist/images",
"fonts": "./dist/fonts",
"css": "./dist/css"
},
"public": {
"root": "./patternlab/",
"patterns": "./patternlab/patterns/",
"data": "./patternlab/styleguide/data/",
"annotations": "./patternlab/annotations/",
"styleguide": "./patternlab/styleguide/",
"js": "./patternlab/js",
"images": "./patternlab/images",
"fonts": "./patternlab/fonts",
"css": "./patternlab/css"
}
},
"patternExtension": "twig",
"patternStateCascade": [
"inprogress",
"inreview",
"complete"
],
"patternExportDirectory": "./pattern_exports/",
"patternExportPatternPartials": [],
"serverOptions": {
"wait": 1000
},
"starterkitSubDir": "dist",
"styleGuideExcludes": [],
"theme": {
"color": "light",
"density": "compact",
"layout": "horizontal"
},
"uikits": [
{
"package": "@pattern-lab/uikit-workshop",
"outputDir": "",
"enabled": true,
"excludedPatternStates": [],
"excludedTags": []
}
],
"engines": {
"twig": {
"namespaces": [
{
"id": "uikit",
"recursive": true,
"paths": [
"./node_modules/@pattern-lab/uikit-workshop/views-twig"
]
},
{
"id": "<%= themeNameMachine %>",
"recursive": true,
"paths": [
"./src/patterns/components",
"./src/patterns/global",
"./src/patterns/pages",
"./src/patterns/layout"
]
}
],
"alterTwigEnv": [
{
"file": "./src/styleguide/drupal-twig/alter-twig.php",
"functions": [
"twig_extensions"
]
}
]
}
}
}