-
Notifications
You must be signed in to change notification settings - Fork 38
/
composer.json
113 lines (113 loc) · 3.15 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
{
"name": "popupmaker/popup-maker",
"description": "The easiest way to create any popup imaginable with WordPress.",
"version": "1.20.2",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"keywords": [
"popup maker",
"pum",
"wp popup maker"
],
"homepage": "https://wppopupmaker.com/",
"support": {
"issues": "https://wppopupmaker.com/support"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"composer/installers": "v2.3.0",
"code-atlantic/prerequisite-checks": "^1.3.1",
"code-atlantic/wp-autoloader": "^1.0.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.10.2",
"code-atlantic/coding-standards": "1.1.0",
"dealerdirect/phpcodesniffer-composer-installer": "v1.0.0",
"phpstan/phpstan": "^1.11.11",
"szepeviktor/phpstan-wordpress": "v1.3.5",
"phpstan/extension-installer": "^1.4.1",
"phpunit/phpunit": "^7.5.20",
"phpcompatibility/phpcompatibility-wp": "^2.1.5",
"php-stubs/generator": "v0.8.4"
},
"scripts": {
"format": "vendor/bin/phpcbf --standard=.phpcs.xml.dist --report-summary --report-source",
"lint": "vendor/bin/phpcs --standard=.phpcs.xml.dist",
"lint:report": "vendor/bin/phpcs --standard=.phpcs.xml.dist --report-full --report-checkstyle=./phpcs-report.xml",
"generate-stubs": "vendor/bin/generate-stubs --finder=./bin/generate-stubs.php --out=popup-maker.stub --stats --force --include-inaccessible-class-nodes",
"install-strauss": [
"test -f strauss.phar || curl -o strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.19.2/strauss.phar"
],
"clean-vendor-prefix-folder": [
"rm -rf vendor-prefixed/**/*"
],
"post-install-cmd": [
"@clean-vendor-prefix-folder",
"@strauss",
"composer dump-autoload"
],
"post-update-cmd": [
"@clean-vendor-prefix-folder",
"@strauss",
"composer dump-autoload"
],
"phpstan": [
"vendor/bin/phpstan analyse --memory-limit=2048M"
],
"strauss": [
"@install-strauss",
"@php strauss.phar"
],
"tests": "vendor/bin/phpunit --configuration tests/unit/phpunit.xml --no-coverage",
"coverage": "vendor/bin/phpunit --configuration tests/unit/phpunit.xml --coverage-html coverage/unit/",
"test:watch": "vendor/bin/phpunit-watcher watch < /dev/tty"
},
"autoload": {
"psr-4": {
"PopupMaker\\": "classes/"
},
"classmap": [
"vendor-prefixed"
]
},
"autoload-dev": {
"psr-4": {
"PopupMaker\\Tests\\": "tests/unit/"
}
},
"extra": {
"exclude-from-classmap": [
"vendor/composer/installers/*"
],
"strauss": {
"target_directory": "/vendor-prefixed/",
"namespace_prefix": "PopupMaker\\Vendor\\",
"classmap_prefix": "PopupMaker_",
"constant_prefix": "POPUPMAKER_",
"packages": [
"code-atlantic/prerequisite-checks",
"code-atlantic/wp-autoloader"
],
"exclude_from_copy": {
"packages": [
"composer/installers"
],
"namespaces": [],
"file_patterns": []
},
"delete_vendor_packages": true
}
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true
}
}