Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
119 lines (119 loc) · 3.54 KB
/
Copy pathcomposer.json
File metadata and controls
119 lines (119 loc) · 3.54 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "popupmaker/popup-maker",
"description": "The easiest way to create any popup imaginable with WordPress.",
"type": "wordpress-plugin",
"author": "Code Atlantic LLC",
"license": "GPL-2.0-or-later",
"homepage": "https://wppopupmaker.com/",
"support": {
"issues": "https://wppopupmaker.com/support"
},
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": ">=7.4",
"composer/installers": "v2.3.0",
"code-atlantic/prerequisite-checks": "^1.3.1",
"code-atlantic/wp-autoloader": "^1.1.0",
"pimple/pimple": "v3.6.2"
},
"require-dev": {
"php": ">=7.4 || ^8.0",
"code-atlantic/coding-standards": "1.1.0",
"dealerdirect/phpcodesniffer-composer-installer": "v1.2.1",
"phpstan/phpstan": "^2.0.3",
"szepeviktor/phpstan-wordpress": "2.0.3",
"phpstan/extension-installer": "^1.4.3",
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6.12",
"brain/monkey": "^2.6.2",
"phpcompatibility/phpcompatibility-wp": "^2.1.7",
"yoast/phpunit-polyfills": "^4.0"
},
"autoload": {
"psr-4": {
"PopupMaker\\": "classes/"
},
"classmap": [
"vendor-prefixed"
]
},
"autoload-dev": {
"psr-4": {
"PopupMaker\\Tests\\": "tests/unit/"
}
},
"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",
"lint:changed": "vendor/bin/phpcs --standard=.phpcs.xml.dist --report-full --report-checkstyle=./phpcs-report.xml --file-list=.changed-files.txt",
"generate-stubs": "./bin/generate-stubs.sh",
"install-strauss": [
"echo 'f4d944bd1fbdadbe8f404d339f51fce10215cb543b8e199a015ecfabf4663517 strauss.phar' | shasum -a 256 -c - >/dev/null 2>&1 || curl --fail --location --output strauss.phar https://github.com/BrianHenryIE/strauss/releases/download/0.28.1/strauss.phar",
"echo 'f4d944bd1fbdadbe8f404d339f51fce10215cb543b8e199a015ecfabf4663517 strauss.phar' | shasum -a 256 -c -"
],
"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/php/phpunit.xml --no-coverage",
"coverage": "vendor/bin/phpunit --configuration ./tests/php/phpunit.xml --coverage-html coverage/unit/",
"test:watch": "vendor/bin/phpunit-watcher watch < /dev/tty"
},
"extra": {
"exclude-from-classmap": [
"vendor/composer/installers/*"
],
"phpstan/extension-installer": {
"ignore": [
"szepeviktor/phpstan-wordpress"
]
},
"strauss": {
"target_directory": "/vendor-prefixed/",
"namespace_prefix": "PopupMaker\\Vendor\\",
"classmap_prefix": "PopupMaker_",
"constant_prefix": "POPUPMAKER_",
"include_root_autoload": true,
"packages": [
"code-atlantic/prerequisite-checks",
"code-atlantic/wp-autoloader",
"pimple/pimple"
],
"exclude_from_copy": {
"packages": [
"composer/installers"
]
}
}
},
"config": {
"platform": {
"php": "7.4.33"
},
"platform-check": false,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true
}
}