-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
57 lines (56 loc) · 1.74 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "calderawp/caldera-forms-query",
"description": "Caldera Forms Query Library",
"license": "GPL-2.0",
"authors": [
{
"name": "Josh Pollock",
"email": "[email protected]"
}
],
"repositories" : [
{
"type": "git",
"url" : "https://github.com/CalderaWP/Caldera-Forms"
}
],
"require": {
"php": ">=5.6",
"nilportugues/sql-query-builder": "^1.5",
"calderawp/caldera-containers": "^0.2"
},
"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"]
}
}
}