-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
68 lines (68 loc) · 1.75 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
{
"name": "bernskioldmedia/bm-wp-experience",
"description": "Provides an opinionated WordPress experience with clean-up and tweaks that we at Bernskiold Media have found runs WordPress best.",
"type": "wordpress-plugin",
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"composer/installers": true
}
},
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": "^7.4|^8.0",
"bacon/bacon-qr-code": "^2.0",
"composer/installers": "~1.0",
"postal/postal": "^1.0",
"pragmarx/google2fa": "^8.0",
"pragmarx/recovery": "^0.2.1",
"yahnis-elsts/plugin-update-checker": "^4.8"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"bernskioldmedia/bm-wp-devtools": "dev-main",
"bernskioldmedia/wp-plugin-base": "^2.4",
"humbug/php-scoper": "dev-master"
},
"license": "GPL-3.0+",
"authors": [
{
"name": "Bernskiold Media",
"email": "info@bernskioldmedia.com"
}
],
"autoload": {
"psr-4": {
"BernskioldMedia\\WP\\Experience\\": "src"
},
"classmap": [
"vendor_prefixed/"
]
},
"scripts": {
"lint": "php-cs-fixer fix -v src",
"test:cs": "phpcs-wp",
"test:types": "phpstan analyse --ansi --memory-limit=-1",
"test:lint": "php-cs-fixer fix -v --dry-run src",
"test": [
"@test:lint",
"@test:types"
],
"release": [
"npm install",
"npm run release",
"composer install",
"@build",
"composer install --no-dev -o"
],
"build": [
"composer prefix-dependencies",
"composer dump-autoload"
],
"prefix-dependencies": [
"php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=BMWPEXP_Vendor --config config/php-scoper/bm-wp-plugin-base.php --output-dir vendor_prefixed/bernskioldmedia/wp-plugin-base --force"
]
}
}