From eb8210a9b14d196f69a1e15d501453a9d8d2682d Mon Sep 17 00:00:00 2001 From: disjfa Date: Wed, 11 Apr 2018 21:48:02 +0200 Subject: [PATCH] Change type of package to wordpress-theme If you set the package up to use a type of "wordpress-theme" and require composer/installers you can let composer install the theme to the "wp-content/themes" folder. Can be useful in wordpress sites using composer. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 70934e7..b0cacf2 100644 --- a/composer.json +++ b/composer.json @@ -1,10 +1,10 @@ { "name": "holger1411/understrap", "description": "Combines AutomatticĀ“s Underscores Starter Theme and Bootstrap 4", - "type": "library", + "type": "wordpress-theme", "license": "GPL-2.0", "minimum-stability": "stable", - "require": {}, + "require": {"composer/installers": "^1.5"}, "keywords": ["wordpress","theme","bootstrap"], "homepage": "https://github.com/holger1411/understrap" }