-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
136 lines (136 loc) · 4.08 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "the-events-calendar/plugin-analysis",
"description": "",
"type": "wordpress-plugin",
"license": "MIT",
"authors": [
{
"name": "The Events Calendar",
"homepage": "https://theeventscalendar.com"
}
],
"version": "1.0.0",
"repositories": [
{
"name": "lucatume/di52",
"type": "github",
"url": "https://github.com/lucatume/di52",
"no-api": true
},
{
"name": "stellarwp/models",
"type": "github",
"url": "https://github.com/stellarwp/models",
"no-api": true
}
],
"autoload": {
"psr-4": {
"PPerf_Analysis\\": "src/"
},
"classmap": [
"vendor/vendor-prefixed"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"require": {
"php": "^8.0",
"lucatume/di52": "^3.3",
"psr/container": "^1.0.0",
"stellarwp/container-contract": "^1.0.4",
"stellarwp/db": "^1.0.3",
"stellarwp/models": "dev-main",
"stellarwp/schema": "^1.1"
},
"require-dev": {
"assertwell/wp-core-test-framework": "^0.2",
"mockery/mockery": "^1.3",
"php-stubs/wordpress-tests-stubs": "^5.8",
"stellarwp/coding-standards": "^1.0",
"szepeviktor/phpstan-wordpress": "^1.0",
"wp-cli/wp-cli": "^2.6",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"build": [
"bin/build"
],
"make:bootstrap": [
"bin/make-bootstrap"
],
"test": [
"@test:all"
],
"test:all": [
"@test:unit",
"@test:standards",
"@test:analysis"
],
"test:analysis": [
"phpstan analyse -c phpstan.neon.dist --memory-limit=512M"
],
"test:coverage": [
"phpdbg -qrr -d memory_limit=-1 ./vendor/bin/phpunit --coverage-html=tests/coverage --coverage-text --colors=always"
],
"test:standards": [
"phpcs --cache",
"php-cs-fixer fix --config=vendor/stellarwp/coding-standards/src/php-cs-fixer.php -v --diff --dry-run"
],
"test:unit": [
"phpunit --testdox --colors=always"
],
"strauss": [
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.13.0/strauss.phar",
"@php bin/strauss.phar",
"composer dump-autoload"
],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
]
},
"extra": {
"strauss": {
"target_directory": "vendor/vendor-prefixed",
"namespace_prefix": "PPerf_Analysis",
"classmap_prefix": "PPerf_Analysis__",
"constant_prefix": "PPERF_ANALYSIS_",
"packages": [
"stellarwp/container-contract",
"stellarwp/db",
"stellarwp/models",
"lucatume/di52",
"psr/container"
],
"exclude_from_prefix": {
"file_patterns": []
}
}
},
"scripts-descriptions": {
"build": "Build a release-ready archive of the plugin.",
"make:bootstrap": "Generate a stellarwp-bootstrap.php file adjacent to the project directory.",
"test:all": "Run all automated tests.",
"test:analysis": "Perform static code analysis.",
"test:coverage": "Generate code coverage reports.",
"test:standards": "Check coding standards.",
"test:unit": "Run all of the PHPUnit test suites."
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"vendor-dir": "vendor",
"bin-dir": "vendor/bin",
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}