-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
96 lines (96 loc) · 2.69 KB
/
Copy pathcomposer.json
File metadata and controls
96 lines (96 loc) · 2.69 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
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
{
"name": "ran/plugin-lib",
"description": "RocketsAreNostalgic: A shared library of plugin classes to interact with WordPress",
"version": "0.8.1",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Benjamin Rush <bnjmnrsh>",
"email": "bnjmnrsh@gmail.com"
}
],
"repositories": [
{
"url": "git@github.com:RocketsAreNostalgic/ran-starter-plugin.git",
"type": "git"
}
],
"support": {
"issues": "https://github.com/RocketsAreNostalgic/ran-plugin-library/issues",
"source": "https://github.com/RocketsAreNostalgic/ran-plugin-library"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ran\\PluginLib\\": "inc/"
},
"exclude-from-classmap": [
"inc/docs-to-review/",
"**/docs/",
"**/hold/",
"**/Example/",
"**/Examples/"
]
},
"autoload-dev": {
"psr-4": {
"Ran\\PluginLib\\Tests\\": "Tests/"
},
"exclude-from-classmap": [
"Tests/"
]
},
"require-dev": {
"php": ">=8.1",
"squizlabs/php_codesniffer": "^3.8",
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"slevomat/coding-standard": "^8.14",
"friendsofphp/php-cs-fixer": "^3.88",
"yoast/phpunit-polyfills": "^2.0",
"phpunit/phpunit": "^9.6",
"10up/wp_mock": "^1.0",
"mockery/mockery": "^1.6",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-phpunit/wp-phpunit": "^6.4",
"rmccue/requests": "^2.0",
"phpcsstandards/phpcsutils": "^1.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint": [
"@cs:check",
"@standards"
],
"format": [
"@cs",
"@standards:fix"
],
"cs": "php-cs-fixer fix --config='./scripts/php-cs-fixer.php' --allow-risky=yes",
"cs:check": "php-cs-fixer fix --config='./scripts/php-cs-fixer.php' --allow-risky=yes --dry-run --diff",
"standards": "php ./scripts/php-codesniffer.php -s --report=summary",
"standards:full": "php ./scripts/php-codesniffer.php -s",
"standards:fix": "php ./scripts/php-codesniffer.php --fix --report=summary",
"qa": [
"@cs:check",
"@standards",
"@test"
],
"qa:ci": [
"@cs:check",
"@standards:full",
"@test:coverage-ci"
],
"hooks:install": "bash ./scripts/install-git-hooks.sh",
"test": "vendor/bin/phpunit --no-coverage",
"test:coverage": "/opt/homebrew/opt/php@8.3/bin/php -d pcov.enabled=1 -d memory_limit=512M vendor/bin/phpunit",
"test:coverage-ci": "vendor/bin/phpunit",
"test:integration": "vendor/bin/phpunit --no-coverage --group integration"
}
}