diff --git a/composer.json b/composer.json
index 18fa5270b204e9d0c9f715518fca1ca33d1639f7..2a4ba65b33f1ec1764f81bfdcd7629913f7680fb 100644
--- a/composer.json
+++ b/composer.json
@@ -45,10 +45,11 @@
         },
         "installer-paths": {
             "core": ["type:drupal-core"],
+            "libraries/{$name}": ["type:drupal-library"],
             "modules/contrib/{$name}": ["type:drupal-module"],
             "profiles/contrib/{$name}": ["type:drupal-profile"],
             "themes/contrib/{$name}": ["type:drupal-theme"],
-            "drush/contrib/{$name}": ["type:drupal-drush"],
+            "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
             "modules/custom/{$name}": ["type:drupal-custom-module"],
             "themes/custom/{$name}": ["type:drupal-custom-theme"]
         }
diff --git a/composer.lock b/composer.lock
index 6df5b6acf94457728168ed2e519ccaab0cd5c457..eeabdab4591e10888396224e559733f26907222d 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "36ce6886f9438a31a1d93784286214df",
+    "content-hash": "38c8384dea91c895efa0d3119c037f84",
     "packages": [
         {
             "name": "asm89/stack-cors",
diff --git a/composer/Template/LegacyProject/composer.json b/composer/Template/LegacyProject/composer.json
index e9f1cbbcb84e57676a16f1e4f81da93b21750b59..19afd31ac4c0cef392117f532689a4449e67e12d 100644
--- a/composer/Template/LegacyProject/composer.json
+++ b/composer/Template/LegacyProject/composer.json
@@ -38,7 +38,9 @@
             "modules/contrib/{$name}": ["type:drupal-module"],
             "profiles/contrib/{$name}": ["type:drupal-profile"],
             "themes/contrib/{$name}": ["type:drupal-theme"],
-            "drush/Commands/contrib/{$name}": ["type:drupal-drush"]
+            "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
+            "modules/custom/{$name}": ["type:drupal-custom-module"],
+            "themes/custom/{$name}": ["type:drupal-custom-theme"]
         }
     }
 }
diff --git a/composer/Template/RecommendedProject/composer.json b/composer/Template/RecommendedProject/composer.json
index 8b10fdf16ff71fcbada39865d16c5e6eee1dc37d..e57c2521c1ddcfa6855cccd90546ca33fe258f5c 100644
--- a/composer/Template/RecommendedProject/composer.json
+++ b/composer/Template/RecommendedProject/composer.json
@@ -37,7 +37,9 @@
             "web/modules/contrib/{$name}": ["type:drupal-module"],
             "web/profiles/contrib/{$name}": ["type:drupal-profile"],
             "web/themes/contrib/{$name}": ["type:drupal-theme"],
-            "drush/Commands/contrib/{$name}": ["type:drupal-drush"]
+            "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
+            "web/modules/custom/{$name}": ["type:drupal-custom-module"],
+            "web/themes/custom/{$name}": ["type:drupal-custom-theme"]
         }
     }
 }