-
Josh Pollock authoredJosh Pollock authored
This project manages its dependencies using Composer.
Learn more
composer.json 1.74 KiB
{
"name": "calderawp/caldera-forms-query",
"description": "Caldera Forms Query Library",
"license": "GPL-2.0",
"authors": [
{
"name": "Josh Pollock",
"email": "josh@calderawp.com"
}
],
"repositories" : [
{
"type": "git",
"url" : "https://github.com/CalderaWP/Caldera-Forms"
}
],
"require": {
"php": ">=5.6",
"nilportugues/sql-query-builder": "^1.5",
"calderawp/caldera-containers": "^0.1.1"
},
"autoload": {
"psr-4": {
"calderawp\\CalderaFormsQuery\\": "src"
},
"files": ["src/CalderaFormsQueries.php"]
},
"scripts" : {
"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",
"jakub-onderka/php-parallel-lint": "^1.0",
"Desertsnowman/caldera-forms": "dev-feature/2404",
"composer/installers": "~1.0"
},
"extra" : {
"installer-paths" : {
"Tests/plugins/{$name}/" : ["type:wordpress-plugin"]
}
}
}