Skip to content

Instantly share code, notes, and snippets.

@fulippo
Last active October 23, 2015 15:07
Show Gist options
  • Save fulippo/426d664d51a7bcb05b4f to your computer and use it in GitHub Desktop.
Save fulippo/426d664d51a7bcb05b4f to your computer and use it in GitHub Desktop.
{
"name": "company/wp-unit-tests",
"type": "wordpress-plugin",
"require": {
"phpunit/phpunit": "~5.0.6"
},
"autoload": {
"psr-4": {"company\\Tests\\": "src/"},
"files": ["src/functions.php"]
}
}
{
"name": "company/team-customer",
"repositories": [
{
"type": "composer",
"url": "https://mypackagist.company.net"
}
],
"license": "proprietary",
"description": "POC customer team on AWS + Git",
"require": {
"php": ">=5.6.0",
"company/wordpress": "4.3.1",
"company/company-exp-suite": "~0.2.0",
"company/company-s3": "~2.4.2",
"company/company-optijpg": "~0.0.3",
"company/wpml-string-translation": "~2.2.6",
"company/sitepress-multilingual-cms": "~3.2.7",
"company/wpml-translation-management": "~2.0.5",
"company/types": "1.8.6.2",
"company/nextcellent-gallery": "~1.9.27",
},
"require-dev": {
"company/wp-unit-tests": "~1.1.0"
},
"autoload": {
"psr-0": {
"company\\InstallActions\\": "composer-actions/"
}
},
"extra": {
"wordpress-install-dir": "wordpress",
"installer-paths": {
"wordpress/{$name}/": ["company/wp-unit-tests"],
"wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
},
"team-copy-files": [
".htaccess",
"HealthCheck.php",
["customer.xml", "wp-content/local/division"]
]
},
"scripts": {
"pre-package-install": "company\\InstallActions\\Actions::prePackageInstall",
"post-package-install": "company\\InstallActions\\Actions::postPackageInstall",
"pre-package-update": "company\\InstallActions\\Actions::prePackageUpdate",
"post-package-update": "company\\InstallActions\\Actions::postPackageUpdate"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment