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.
This commit is contained in:
disjfa 2018-04-11 21:48:02 +02:00 committed by GitHub
parent 2743321cd1
commit eb8210a9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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"
}