-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 1.91 KB
/
composer.json
File metadata and controls
64 lines (64 loc) · 1.91 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
{
"name": "wp-media/options",
"description": "Options Handler for WordPress Options API",
"homepage": "https://github.com/wp-media/options",
"license": "GPL-2.0+",
"authors": [
{
"name": "WP Media",
"email": "contact@wp-media.me",
"homepage": "https://wp-media.me"
}
],
"type": "library",
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"support": {
"issues": "https://github.com/wp-media/options/issues",
"source": "https://github.com/wp-media/options"
},
"require": {
"php": ">= 7.4"
},
"require-dev": {
"php": ">= 7.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"php-stubs/wordpress-tests-stubs": "^6.8",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-phpunit": "^1.4",
"szepeviktor/phpstan-wordpress": "^1.3",
"roave/security-advisories": "dev-master",
"wp-coding-standards/wpcs": "^3",
"wp-media/phpunit": "^3"
},
"autoload": {
"psr-4": {
"WPMedia\\Options\\": "inc/"
}
},
"autoload-dev": {
"psr-4": {
"WPMedia\\Options\\Tests\\Unit\\": "Tests/Unit",
"WPMedia\\Options\\Tests\\Integration\\": "Tests/Integration",
"WPMedia\\Options\\Tests\\Fixtures\\": "Tests/Fixtures"
}
},
"scripts": {
"phpcs": "vendor/bin/phpcs",
"phpcs:fix": "vendor/bin/phpcbf",
"phpstan": "vendor/bin/phpstan analyze --memory-limit=2G",
"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",
"run-tests": [
"@test-unit",
"@test-integration"
]
}
}