-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
118 lines (118 loc) · 4.05 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "wp-launchpad/launchpad",
"description": "Framework to create a modern PHP plugin in no time",
"keywords": [
"wordpress",
"framework",
"plugin"
],
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "CrochetFeve0251"
}
],
"type": "project",
"config": {
"sort-packages": true,
"preferred-install": {
"wp-media/phpunit": "source"
},
"process-timeout": 0,
"allow-plugins": {
"composer/installers": true,
"mnsami/composer-custom-directory-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": ">=7.0",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"php": "^7 || ^8",
"brain/monkey": "^2.0",
"brianhenryie/strauss": "^0.14.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"mnsami/composer-custom-directory-installer": "^2.0",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"roave/security-advisories": "dev-master",
"wp-coding-standards/wpcs": "^2",
"wp-launchpad/build": "^0.0",
"wp-launchpad/cli": "^1.0",
"wp-launchpad/cli-installer": "^0.0",
"wp-launchpad/core": "^v0.3.0",
"wp-launchpad/launchpad-phpstan": "^0.0",
"wp-launchpad/take-off": "^1.0",
"wp-media/phpunit": "^3.0"
},
"autoload": {
"psr-4": {
"Launchpad\\": "inc/"
}
},
"autoload-dev": {
"psr-4": {
"Launchpad\\Tests\\": "tests/"
}
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}/": [
"type:wordpress-plugin"
]
},
"strauss": {
"target_directory": "vendor-prefixed",
"namespace_prefix": "Launchpad\\Dependencies\\",
"classmap_prefix": "Launchpad",
"constant_prefix": "Launchpad",
"packages": [
"league/container",
"wp-launchpad/core",
"wp-launchpad/autoresolver"
],
"delete_vendor_packages": true
}
},
"scripts": {
"strauss": [
"vendor/bin/strauss"
],
"test-unit": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist",
"test-integration": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --exclude-group AdminOnly",
"test-integration-adminonly": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group AdminOnly",
"run-tests": [
"@test-unit",
"@test-integration",
"@test-integration-adminonly"
],
"run-stan": "vendor/bin/phpstan analyze --memory-limit=2G --no-progress -c tests/PHPStan/phpstan.neon.dist",
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs": "phpcs --basepath=.",
"phpcs-changed": "./bin/phpcs-changed.sh",
"phpcs:fix": "phpcbf",
"post-install-cmd": [
"\"bin/generator\" auto-install",
"composer update --no-interaction --no-scripts",
"@strauss",
"composer dump-autoload"
],
"post-update-cmd": [
"\"bin/generator\" auto-install",
"composer update --no-interaction --no-scripts",
"@strauss",
"composer dump-autoload"
],
"code-coverage": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist --coverage-clover=tests/report/coverage.clover"
},
"minimum-stability": "stable",
"prefer-stable": true
}