-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
78 lines (78 loc) · 2.83 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "calderawp/caldera-admin",
"description": "Caldera (Forms) Plugin Screens",
"type": "wordpress-plugin",
"license": "GPL-2.0",
"minimum-stability": "dev",
"authors": [
{
"name": "Josh Pollock",
"email": "[email protected]"
}
],
"require": {
"php": "^5.6|^7.0",
"calderawp/caldera-interop": "dev-vast-simplify",
"calderawp/caldera-containers": "^0.2.0"
},
"autoload": {
"psr-4": {
"calderawp\\CalderaForms\\Admin\\": "php"
},
"files" :[
"ReactWPScripts.php",
"php/CalderaFormsUi.php"
]
},
"repositories": [
{
"type": "git",
"url": "https://github.com/CalderaWP/caldera-interop"
},
{
"type": "git",
"url": "https://github.com/CalderaWP/caldera-forms"
},
{
"type": "git",
"url": "https://github.com/CalderaWP/caldera-ghost-runner"
},
{
"type": "git",
"url": "[email protected]:CalderaWP/calderawp-wordpress-plugin.git"
}
],
"scripts" : {
"tests" : "composer fixes && composer sniffs && composer test:unit && composer wp:tests",
"test:unit": "phpunit --testsuite=unit",
"wp:install": "bash ./bin/install-docker.sh && composer wp:config",
"wp:config": "docker-compose run --rm cli wp rewrite structure '/%postname%/'",
"wp:start": "docker-compose up -d",
"wp:tests": "docker-compose run --rm wordpress_phpunit phpunit --configuration phpunit-integration.xml.dist",
"wp:destroy": "docker-compose rm --stop --force",
"cf:install": "bash ./bin/caldera-form.sh",
"cf:activate": "docker-compose run --rm cli wp plugin activate caldera-forms && docker-compose run --rm cli wp plugin activate caldera-forms-admin",
"phpunit-v": "phpunit --version",
"sniffs" : "phpcs php/ && phpcs Tests/",
"fixes" : "phpcbf php/ && phpcbf Tests/",
"lints" : "parallel-lint ./php --blame --exclude vendor && parallel-lint ./Tests --blame --exclude vendor"
},
"autoload-dev": {
"psr-4": {
"calderawp\\CalderaForms\\Admin\\Tests\\Integration\\": "Tests/Integration/",
"calderawp\\CalderaForms\\Admin\\Tests\\Unit\\": "Tests/Unit/",
"calderawp\\CalderaForms\\Admin\\Tests\\Traits\\": "Tests/Traits/"
}
},
"require-dev": {
"php": "^7.1",
"brain/monkey": "^2.2",
"mockery/mockery": ">=0.9 <2",
"phpunit/phpunit": "~5.7.9",
"squizlabs/php_codesniffer": "^3.2",
"jakub-onderka/php-parallel-lint": "^1.0",
"johnpbloch/wordpress" : "*",
"Desertsnowman/caldera-forms" : "dev-project/admin-refactor",
"calderawp/ghost-runner" : "*"
}
}