-
Notifications
You must be signed in to change notification settings - Fork 163
/
composer.json
executable file
·90 lines (90 loc) · 3.37 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
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "desertsnowman/caldera-forms",
"description": "Create complex grid based, responsive forms easily with an easy to use drag and drop layout builder",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"forms",
"caldera"
],
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Josh Pollock",
"homepage": "https://JoshPress.net",
"role": "Lead Developer"
},
{
"name": "David Cramer",
"homepage": "http://cramer.co.za",
"role": "Founding Developer"
},
{
"name": "Nicolas Figueira",
"homepage": "https://newo.me/",
"role": "Contributing Developer"
}
],
"homepage": "http://calderaforms.com",
"require": {
"php": ">=5.6.0",
"inpsyde/wonolog": "^1.0",
"calderawp/caldera-forms-query": "0.3.2",
"calderawp/caldera-containers": "^0.2.0",
"composer/installers": "^1.6",
"a5hleyrich/wp-queue": "^1.3",
"symfony/translation": "~3.0",
"symfony/polyfill-mbstring": "1.20",
"mossadal/math-parser": "^1.3",
"pimple/pimple": "3.2.*"
},
"autoload": {
"psr-4": {
"calderawp\\calderaforms\\pro\\": "includes/cf-pro-client/classes/",
"calderawp\\calderaforms\\cf2\\": "cf2"
},
"files": [
"./cf2/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"calderawp\\calderaforms\\Tests\\Unit\\": "tests/Unit/",
"calderawp\\calderaforms\\Tests\\Util\\": "tests/Util/",
"calderawp\\calderaforms\\Tests\\Integration\\": "tests/Integration/",
"calderawp\\calderaforms\\Tests\\Util\\Traits\\": "tests/Util/Traits/"
},
"files": [
"./tests/testing-cli.php"
]
},
"require-dev": {
"phpunit/phpunit": "^7.3",
"johnpbloch/wordpress": "*",
"brain/monkey": "^2.2",
"mockery/mockery": ">=0.9 <2"
},
"scripts": {
"test:php": "composer test:unit && composer wp:tests",
"dev:install": "composer install && yarn && composer wp:install && composer wp:activate && composer test:setup",
"dev:destroy": "composer nuke && composer wp:destroy",
"nuke": "rm yarn.lock && rm composer.lock && rm -rf node_modules/ && rm -rf vendor",
"wp:install": "bash ./bin/install-docker.sh && composer wp:config",
"wp:activate": "bash ./bin/activate-plugin.sh",
"test:setup": "bash ./bin/setup-test-forms.sh",
"test:delete": "bash ./bin/delete-test-forms.sh",
"wp:config": "docker-compose run --rm cli wp rewrite structure '/%postname%/'",
"wp:start": "composer wp:server-start && composer wp:server-url",
"wp:server-start": "docker-compose up -d",
"wp:server-url": "bash ./bin/echo-server-url.sh",
"wp:tests": "docker-compose run --rm wordpress_phpunit vendor/bin/phpunit --configuration phpunit-integration.xml.dist",
"wp:tests-now": "docker-compose run --rm wordpress_phpunit phpunit --configuration phpunit-integration.xml.dist --group now",
"wp:destroy": "docker-compose rm --stop --force",
"test:unit": "phpunit --configuration phpunit-unit.xml.dist"
},
"config": {
"preferred-install": {
"*": "dist"
}
}
}