-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
71 lines (71 loc) · 2.18 KB
/
Copy pathcomposer.json
File metadata and controls
71 lines (71 loc) · 2.18 KB
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
{
"name": "n5s/wp-hook-kit",
"description": "A lightweight WordPress hook helper library. Register hooks before WordPress loads, run callbacks only once, and more.",
"license": "MIT",
"type": "library",
"keywords": [
"wordpress",
"hooks",
"filters",
"actions"
],
"authors": [
{
"name": "Nicolas Lemoine",
"email": "nico.lemoine@gmail.com"
}
],
"homepage": "https://github.com/n5s/wp-hook-kit",
"support": {
"issues": "https://github.com/n5s/wp-hook-kit/issues",
"source": "https://github.com/n5s/wp-hook-kit"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.2"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.48",
"mantle-framework/testkit": "^1.15",
"phpstan/extension-installer": "^1.4",
"phpunit/phpcov": "^10.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"syde/phpcs": "^1.0"
},
"autoload": {
"psr-4": {
"n5s\\WpHookKit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"n5s\\WpHookKit\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"coverage": [
"@coverage:unit",
"@coverage:integration",
"@coverage:merge"
],
"coverage:integration": "phpunit --testsuite integration --coverage-php .coverage/integration.cov",
"coverage:merge": "phpcov merge .coverage --text php://stdout",
"coverage:unit": "TEST_SUITE=unit phpunit --testsuite unit --coverage-php .coverage/unit.cov",
"phpstan": "phpstan analyse --memory-limit=512M",
"test": [
"@test:unit",
"@test:integration"
],
"test:integration": "phpunit --testsuite integration",
"test:unit": "TEST_SUITE=unit phpunit --testsuite unit"
}
}