-
Notifications
You must be signed in to change notification settings - Fork 31
/
composer.json
95 lines (95 loc) · 2.58 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
{
"name": "bracketspace/notification",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"description": "Notification plugin for WordPress",
"require": {
"php": "^7.4 | ^8.0",
"composer-runtime-api": "^2.0",
"brianhenryie/strauss": "^0.19.4",
"enshrined/svg-sanitize": "^0.16.0",
"micropackage/ajax": "^1.0",
"micropackage/cache": "^1.0",
"micropackage/casegnostic": "^1.0",
"micropackage/dochooks": "1.0.2",
"micropackage/filesystem": "^1.1",
"micropackage/requirements": "^1.1",
"micropackage/templates": "^1.1"
},
"require-dev": {
"brain/monkey": "^2.6",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"pestphp/pest": "^1.23",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-stubs/wp-cli-stubs": "^2.4",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^9",
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.6.1",
"szepeviktor/phpstan-wordpress": "^1.3",
"yoast/phpunit-polyfills": "^2.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": true,
"platform-check": false
},
"autoload": {
"psr-4": {
"BracketSpace\\Notification\\": "src/"
},
"classmap": [
"compat/src-deprecated/",
"dependencies/"
],
"files": [
"compat/src-deprecated/helpers.php",
"compat/src-deprecated/namespaces.php",
"compat/src-deprecated/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"BracketSpace\\Notification\\Tests\\": "tests/unit/",
"Tests\\": "tests/"
}
},
"extra": {
"strauss": {
"namespace_prefix": "BracketSpace\\Notification\\Dependencies\\",
"target_directory": "dependencies",
"classmap_prefix": "BracketSpace_Notification_Dependencies_",
"exclude_from_prefix": {
"file_patterns": [
"#compat\/src-deprecated\/helpers.php#"
]
}
}
},
"scripts": {
"phpcbf": "phpcbf --parallel=4",
"phpcs": "phpcs --parallel=4",
"phplint": "parallel-lint --exclude node_modules --exclude vendor --exclude dependencies .",
"phpstan": "phpstan analyze --memory-limit=-1 -v",
"generate-stubs": "generate-stubs --finder=compat/stub-finder.php --out=compat/stubs.php --force",
"prefix-namespaces-dev": [
"strauss",
"composer dump-autoload"
],
"prefix-namespaces-prod": [
"strauss --deleteVendorPackages=true",
"composer dump-autoload",
"rm -r vendor/bin",
"rm -r vendor/brianhenryie",
"find vendor -type d -empty -delete"
],
"post-install-cmd": [
"@prefix-namespaces-dev"
],
"post-update-cmd": [
"@prefix-namespaces-dev"
]
}
}