Newer
Older
"license": "GPL-2.0",
"authors": [
{
"name": "Josh Pollock",
"email": "josh@calderawp.com"
}
],
"repositories" : [
{
"type": "git",
"url" : "https://github.com/CalderaWP/Caldera-Forms"
},
"autoload": {
"psr-4": {
"calderawp\\CalderaFormsQuery\\": "src"
},
"files": ["src/CalderaFormsQueries.php"]
"tests" : "composer unit-tests && composer wp-tests",
"unit-tests": "phpunit --testsuite=unit",
"wp-install": "bash ./bin/install-docker.sh",
"wp-tests": "docker-compose run --rm wordpress_phpunit phpunit --configuration phpunit-integration.xml.dist",
"phpunit-v": "phpunit --version",
"sniffs" : "phpcs src/ && phpcs Tests/",
"fixes" : "phpcbf src/ && phpcbf Tests/",
"lints" : "parallel-lint ./src --blame --exclude vendor && parallel-lint ./tests --blame --exclude vendor"
},
"autoload-dev": {
"psr-4": {
"calderawp\\CalderaFormsQuery\\Tests\\": "Tests/"
},
"require-dev": {
"php": "^7.1",
"phpunit/phpunit": "^7.0",
"squizlabs/php_codesniffer": "^3.2",
"composer/installers": "~1.0"
},
"extra" : {
"installer-paths" : {
"Tests/plugins/{$name}/" : ["type:wordpress-plugin"]
}