Last active
December 31, 2018 15:53
-
-
Save Shelob9/ad2e96e4aeabfa87450a to your computer and use it in GitHub Desktop.
Example composer file for a WordPress site
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "vendor/project", | |
"description" : "Site build stack.", | |
"keywords" : [ "wordpress" ], | |
"license" : "GPL-2.0+", | |
"authors" : [ | |
{ | |
"name" : "Developer Name", | |
"email" : "[email protected]", | |
"role" : "Lead Developer" | |
}, | |
{ | |
"name" : "Developer Name", | |
"email" : "[email protected]", | |
"role" : "Developer" | |
}, | |
], | |
"type" : "project", | |
"minimum-stability": "dev", | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url" : "http://wpackagist.org" | |
}, | |
{ | |
"type": "git", | |
"url": "https://github.com/pods-framework/pods-json-api" | |
} | |
], | |
"config" : { | |
"vendor-dir": "vendor" | |
}, | |
"require" : { | |
"johnpbloch/wordpress" : "4.0", | |
"wpackagist-plugin/pods" : "*", | |
"wpackagist-plugin/json-rest-api" : "*", | |
"json-rest-api" : "*", | |
"wpackagist-plugin/log-viewer" : "*", | |
"wpackagist-plugin/caldera-forms" : "*" | |
}, | |
"require-dev" : { | |
"wpackagist-plugin/log-deprecated-notices" : "*", | |
"wpackagist-plugin/debug-bar" : "*", | |
"wpackagist-plugin/debug-bar-console" : "*", | |
"wpackagist-plugin/user-switching" : "*", | |
"wpackagist-plugin/simply-show-ids" : "*" | |
}, | |
"extra" : { | |
"wordpress-install-dir": "public_html/wp", | |
"installer-paths": { | |
"public_html/content/plugins/{$name}/" : ["type:wordpress-plugin"], | |
"public_html/conent/{$name}/" : ["type:wordpress-theme"] | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment