Skip to content

Commit

Permalink
feat(config): Alphabetize and set defaults for patternlab-config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuenzenmeyer committed Nov 15, 2017
1 parent 537ccbd commit 9b8bf2e
Showing 1 changed file with 46 additions and 36 deletions.
82 changes: 46 additions & 36 deletions patternlab-config.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,8 @@
{
"paths" : {
"source" : {
"root": "./source/",
"patterns" : "./source/_patterns/",
"data" : "./source/_data/",
"styleguide" : "./core/styleguide/",
"patternlabFiles" : "./core/",
"js" : "./source/js",
"images" : "./source/images",
"fonts" : "./source/fonts",
"css" : "./source/css/"
},
"public" : {
"root" : "./public/",
"patterns" : "./public/patterns/",
"data" : "./public/data/",
"styleguide" : "./public/styleguide/",
"js" : "./public/js",
"images" : "./public/images",
"fonts" : "./public/fonts",
"css" : "./public/css"
}
},
"styleGuideExcludes": [
"templates",
"pages"
],
"cacheBust": true,
"cleanPublic" : true,
"defaultPattern": "all",
"ignored-extensions" : ["scss", "DS_Store", "less"],
"ignored-directories" : ["scss"],
"logLevel": "info",
"defaultShowPatternInfo": false,
"ishControlsHide": {
"s": false,
"m": false,
Expand All @@ -52,17 +25,54 @@
"m": [500, 800],
"l": [800, 2600]
},
"patternStateCascade": ["inprogress", "inreview", "complete"],
"patternExportPatternPartials": [],
"patternExportDirectory": "./pattern_exports/",
"cacheBust": true,
"logLevel": "info",
"outputFileSuffixes": {
"rendered": ".rendered",
"rawTemplate": "",
"markupOnly": ".markup-only"
},
"cleanOutputHtml": true,
"exportToGraphViz": false,
"paths" : {
"source" : {
"root": "./source/",
"patterns" : "./source/_patterns/",
"data" : "./source/_data/",
"meta": "./source/_meta/",
"annotations" : "./source/_annotations/",
"styleguide" : "./node_modules/@pattern-lab/styleguidekit-assets-default/dist/",
"patternlabFiles" : {
"general-header": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/general-header.mustache",
"general-footer": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/general-footer.mustache",
"patternSection": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/patternSection.mustache",
"patternSectionSubtype": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/patternSectionSubtype.mustache",
"viewall": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/viewall.mustache"
},
"js" : "./source/js",
"images" : "./source/images",
"fonts" : "./source/fonts",
"css" : "./source/css/"
},
"public" : {
"root" : "./public/",
"patterns" : "./public/patterns/",
"data" : "./public/styleguide/data/",
"annotations" : "./public/annotations/",
"styleguide" : "./public/styleguide/",
"js" : "./public/js",
"images" : "./public/images",
"fonts" : "./public/fonts",
"css" : "./public/css"
}
},
"patternExtension": "mustache",
"patternStateCascade": ["inprogress", "inreview", "complete"],
"patternExportDirectory": "./pattern_exports/",
"patternExportPatternPartials": [],
"serverOptions": {
"wait": 1000
},
"starterkitSubDir": "dist",
"styleGuideExcludes": [
],
"theme": {
"color": "dark",
"density": "compact",
Expand Down

0 comments on commit 9b8bf2e

Please sign in to comment.