Last active
August 29, 2015 14:04
-
-
Save onnimonni/e7a109f9f91067c99c78 to your computer and use it in GitHub Desktop.
Example composer.json with koodimonni languages
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": "koodimonni/wordpress", | |
"type": "project", | |
"description": "Wordpress with nordic languages. You can update the whole thing using composer. This will always be latest stable version.", | |
"homepage": "http://languages.koodimonni.fi", | |
"authors": [ | |
{ | |
"name": "Onni Hakala", | |
"email": "[email protected]", | |
"homepage": "https://github.com/onnimonni" | |
} | |
], | |
"keywords": [ | |
"wordpress", "composer", "wp" | |
], | |
"config": { | |
"preferred-install": "dist", | |
}, | |
"autoload": { | |
"psr-0": {"Koodimonni\\Installer": "scripts"} | |
}, | |
"scripts": { | |
"post-install-cmd": [ | |
"Koodimonni\\Installer::installLanguages" | |
], | |
"post-update-cmd": [ | |
"Koodimonni\\Installer::installLanguages" | |
] | |
}, | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://wpackagist.org" | |
}, | |
{ | |
"type": "composer", | |
"url": "http://languages.koodimonni.fi" | |
} | |
], | |
"require": { | |
"php": ">=5.3.2", | |
"johnpbloch/wordpress": "*", | |
"composer/installers": "v1.0.12", | |
"vlucas/phpdotenv": "~1.0.6", | |
"koodimonni-language/fi": "dev-master", | |
"koodimonni-language/sv": "dev-master", | |
"koodimonni-language/ru": "dev-master", | |
"koodimonni-language/et": "dev-master", | |
"wpackagist-plugin/akismet": "*", | |
"wpackagist-theme/twentyfourteen": "*", | |
"wpackagist-theme/twentythirteen": "*", | |
"wpackagist-theme/twentytwelve": "*", | |
"wpackagist-theme/twentyeleven": "*" | |
}, | |
"extra": { | |
"installer-paths": { | |
"htdocs/wp-content/plugins/{$name}/": ["type:wordpress-plugin"], | |
"htdocs/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"], | |
"htdocs/wp-content/themes/{$name}": ["type:wordpress-theme"] | |
}, | |
"wordpress-install-dir": "htdocs/wordpress", | |
"wordpress-languages-dir": "htdocs/wp-content/languages" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ich don't think so