49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"type" : "project",
|
|
"license" : "GPL-2.0",
|
|
"minimum-stability" : "dev",
|
|
|
|
"repositories" : [
|
|
{
|
|
"type" : "package",
|
|
"package" : {
|
|
"name" : "ifixit/php-akismet",
|
|
"version" : "1.0",
|
|
"source" : {
|
|
"url" : "https://github.com/iFixit/php-akismet.git",
|
|
"type" : "git",
|
|
"reference" : "126b4b9182230678a585338be4cfca24c9129dc9"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
|
|
"require" : {
|
|
"php" : ">=5.4.8",
|
|
|
|
"flexihash/flexihash" : "^2.0.0",
|
|
"ifixit/php-akismet" : "1.*",
|
|
"google/recaptcha" : "~1.1",
|
|
"dapphp/securimage" : "3.6.*",
|
|
|
|
"bower-asset/jquery" : "1.12.3",
|
|
"bower-asset/jquery-timeago" : "1.5.2",
|
|
"bower-asset/tablesorter" : "2.0.5"
|
|
},
|
|
|
|
"vendor-copy": {
|
|
"vendor/bower-asset/jquery/dist/jquery.min.js" : "lib/vendor/js/jquery-1.12.3.min.js",
|
|
"vendor/bower-asset/jquery/dist/jquery.min.map" : "lib/vendor/js/jquery-1.12.3.min.map",
|
|
"vendor/bower-asset/jquery-timeago/jquery.timeago.js" : "lib/vendor/js/jquery.timeago.js",
|
|
"vendor/bower-asset/tablesorter/jquery.tablesorter.min.js" : "lib/vendor/js/jquery.tablesorter.min.js"
|
|
},
|
|
|
|
"scripts": {
|
|
"post-install-cmd" : [
|
|
"php -r \"array_map('copy', array_keys(json_decode(file_get_contents('composer.json'), TRUE)['vendor-copy']), json_decode(file_get_contents('composer.json'), TRUE)['vendor-copy']);\""
|
|
],
|
|
"post-update-cmd" : [
|
|
"php -r \"array_map('copy', array_keys(json_decode(file_get_contents('composer.json'), TRUE)['vendor-copy']), json_decode(file_get_contents('composer.json'), TRUE)['vendor-copy']);\""
|
|
]
|
|
}
|
|
}
|