Last active
August 29, 2015 13:56
-
-
Save mjn666/9106028 to your computer and use it in GitHub Desktop.
composer.json file for WordPress [WIP]
This file contains 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/theme-name", | |
"description": "Theme Name", | |
"license": "GPL-3.0+", | |
"repositories":[ | |
{ | |
"type":"composer", | |
"url":"http://wpackagist.org" | |
}, | |
{ | |
"type": "package", | |
"package": { | |
"name": "wordpress", | |
"type": "webroot", | |
"version": "3.8.1", | |
"dist": { | |
"type": "zip", | |
"url": "https://github.com/WordPress/WordPress/archive/3.8.1.zip" | |
}, | |
"require": { | |
"fancyguy/webroot-installer": "1.*" | |
} | |
} | |
}, | |
{ | |
"type": "package", | |
"package" : { | |
"name" : "theme-name", | |
"type": "wordpress-theme", | |
"version": "0.0.1", | |
"dist": { | |
"type": "zip", | |
"url": "https://github.com/mjn666/wp-skeletor/archive/0.0.1.zip" | |
}, | |
"require": { | |
"fancyguy/webroot-installer": "1.*" | |
} | |
} | |
} | |
], | |
"require": { | |
"wordpress": "*", | |
"wpackagist/advanced-custom-fields": "4.*", | |
"wpackagist/wordpress-importer": "~0.6", | |
"theme-name": "*" | |
}, | |
"extra": { | |
"webroot-dir": "wordpress", | |
"webroot-package": "wordpress", | |
"wp-content": "wordpress/wp-content", | |
"installer-paths": { | |
"wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"], | |
"wordpress/wp-content/themes/{$name}/": ["type:wordpress-theme"] | |
} | |
}, | |
"minimum-stability": "stable" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment