Skip to content

Instantly share code, notes, and snippets.

@jnweaver
Created October 24, 2014 13:58
Show Gist options
  • Save jnweaver/4e1d9ee41610308c7756 to your computer and use it in GitHub Desktop.
Save jnweaver/4e1d9ee41610308c7756 to your computer and use it in GitHub Desktop.
Wordpress Composer example
{
"name" : "uwmadison-umark/wordpress-skeleton",
"description" : "Skeleton WordPress Stack via Composer",
"authors" : [
{
"name" : "Nick Weaver",
"email" : "jnweaver@wisc.edu",
"homepage": "http://umark.wisc.edu"
}
],
"type" : "project",
"repositories": [
{
"type": "composer",
"url" : "http://wpackagist.org"
},
{
"type": "vcs",
"url": "git@github.com:UWMadisonUcomm/wp-shibboleth.git"
}
],
"prefer-stable": true,
"minimum-stability": "dev",
"preferred-install": "dist",
"require" : {
"johnpbloch/wordpress": "4.0",
"wpackagist-plugin/akismet": "3.*",
"wpackagist-plugin/google-analytics-for-wordpress": "4.*",
"wpackagist-plugin/uw-madison-events-calendar": "1.*",
"wpackagist-plugin/timber-library": "0.20.*",
"wpackagist-plugin/hyper-cache": "3.1.*",
"wpackagist-plugin/wordpress-importer": "*",
"wpackagist-plugin/login-security-solution": "0.45.*",
"wpackagist-plugin/regenerate-thumbnails": "2.*",
"uwmadison-umark/wp-shibboleth": "dev-uw"
},
"require-dev" : {
"wpackagist-plugin/query-monitor": "*",
"wpackagist-plugin/debug-bar": "*",
"wpackagist-plugin/debug-bar-timber": "*",
"wpackagist-plugin/custom-post-type-ui": "*"
},
"extra" : {
"wordpress-install-dir": "public/wp",
"installer-paths" : {
"public/content/mu-plugins/{$name}/": ["type:wordpress-muplugin", "wpackagist-plugin/timber-library"],
"public/content/plugins/{$name}/": ["type:wordpress-plugin"],
"public/content/themes/{$name}/": ["type:wordpress-theme"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment