forked from elementor/elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
59 lines (59 loc) · 2.1 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
{
"name": "elementor/elementor",
"description": "WordPress website builder, with no limits of design. A website builder that delivers high-end page designs and advanced capabilities, never before seen on WordPress.",
"type": "project",
"license": "GNU General Public License v3.0",
"minimum-stability": "stable",
"require": {
"php": ">=7.4"
},
"autoload": {
"classmap": [
"vendor_prefixed/"
]
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"elementor/elementor-editor-testing": "0.0.3",
"justinrainbow/json-schema": "^5.2",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.6",
"wp-coding-standards/wpcs": "^2.3",
"yoast/phpunit-polyfills": "^1.0",
"thor-juhasz/phpunit-coverage-check": "^0.3.0",
"spatie/phpunit-snapshot-assertions": "^4.2",
"humbug/php-scoper": "0.17.5",
"php-di/php-di": "6.4.0"
},
"scripts": {
"lint": "phpcs --standard=ruleset.xml",
"test": "phpunit",
"test:install": "bash ./bin/install-wp-tests-local.sh",
"coverage": "composer run coverage:test && composer run coverage:check",
"coverage:test": "phpdbg -qrr vendor/phpunit/phpunit/phpunit --coverage-clover coverage-report/clover.xml",
"coverage:check": "phpunit-coverage-check -t 65 coverage-report/clover.xml",
"post-install-cmd": [
"@php -r \"if (!file_exists('vendor_prefixed')) { mkdir('vendor_prefixed', 0755, true); }\"",
"@php ./vendor/bin/php-scoper add-prefix --output-dir=./vendor_prefixed --config=php-scoper/dependency-injection.inc.php --force",
"@php composer dump-autoload"
],
"pre-autoload-dump": [
"@php -r \"if (!file_exists('vendor_prefixed')) { mkdir('vendor_prefixed', 0755, true); }\""
],
"post-update-cmd": [
"@php -r \"if (!file_exists('vendor_prefixed')) { mkdir('vendor_prefixed', 0755, true); }\"",
"@php ./vendor/bin/php-scoper add-prefix --output-dir=./vendor_prefixed --config=php-scoper/dependency-injection.inc.php --force",
"@php composer dump-autoload"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"authors": [
{
"name": "Elementor team"
}
]
}