generated from niiknow/vue-wp-plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
75 lines (75 loc) · 2 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
{
"type": "wordpress-plugin",
"license": "GPL-2.0",
"require": {
"php": ">=7.4"
},
"require-dev": {
"brain/monkey": "^2.6",
"dangoodman/composer-for-wordpress": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"friendsofphp/php-cs-fixer": "^3.8.0",
"humbug/php-scoper": "^0.17",
"phpunit/phpunit": "^9.5",
"sniccowp/php-scoper-wordpress-excludes": "^5.9"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"classmap-authoritative": false,
"classloader-suffix": "Brxmailer",
"autoloader-suffix": "Brxmailer",
"process-timeout": 0,
"vendor-dir": "vendor",
"platform-check": false,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"dangoodman/composer-for-wordpress": true
}
},
"autoload": {
"psr-4": {
"Brxmailer\\": "includes/"
},
"exclude-from-files": [
"includes/Provider/Mailer.php",
"includes/Provider/Options.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\phpunit\\": "tests/phpunit/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"phpcs": "phpcs -s --report=full --report=source",
"phpcs:fix": "phpcbf -w",
"format": "./vendor/bin/php-cs-fixer fix --using-cache=no",
"test": [
"npm run test",
"composer install",
"phpunit --testsuite PluginTestSuite"
],
"coverage": [
"XDEBUG_MODE=coverage phpunit --testsuite PluginTestSuite --coverage-html tests/coverage"
],
"phpstan": [
"phpstan analyze"
],
"phpstan-clean": [
"phpstan clear-result-cache && phpstan analyze"
],
"scope-dependencies": [
"@php vendor/bin/php-scoper add-prefix --config=.scoper.inc.php --force --quiet"
],
"app:package": [
"npm run production",
"@composer update --no-dev",
"@composer dump-autoload --classmap-authoritative --no-dev",
"npm run make-archive"
]
}
}