forked from roots/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
109 lines (109 loc) · 3.93 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
{
"name": "pressbooks/bedrock",
"type": "project",
"license": "MIT",
"description": "Bedrock with open source Pressbooks dependencies",
"homepage": "https://roots.io/bedrock/",
"authors": [
{
"name": "Scott Walkinshaw",
"email": "[email protected]",
"homepage": "https://github.com/swalkinshaw"
},
{
"name": "Ben Word",
"email": "[email protected]",
"homepage": "https://github.com/retlehs"
}
],
"keywords": [
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
],
"support": {
"issues": "https://github.com/roots/bedrock/issues",
"forum": "https://discourse.roots.io/category/bedrock"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
}
],
"require": {
"php": ">=8.1",
"composer/installers": "^2.2",
"pressbooks/pressbooks": "dev-dev",
"pressbooks/pressbooks-aldine": "dev-dev",
"pressbooks/pressbooks-book": "dev-dev",
"pressbooks/pressbooks-cas-sso": "dev-dev",
"pressbooks/pressbooks-clarke": "dev-dev",
"pressbooks/pressbooks-donham": "dev-dev",
"pressbooks/pressbooks-jacobs": "dev-dev",
"pressbooks/pressbooks-network-catalog": "dev-dev",
"pressbooks/pressbooks-saml-sso": "dev-dev",
"roots/bedrock-autoloader": "^1.0",
"roots/bedrock-disallow-indexing": "^2.0",
"roots/multisite-url-fixer": "^1.1",
"roots/wordpress": "^6.1",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.2.0",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7.1",
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^9",
"pressbooks/coding-standards": "^1.1"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"preferred-install": {
"pressbooks/*": "source",
"*": "dist"
},
"allow-plugins": {
"composer/installers": true,
"roots/wordpress-core-installer": true,
"pressbooks/*": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"mnsami/composer-custom-directory-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "web/wp"
},
"scripts": {
"test": [
"PB_PLUGIN=${PB_PLUGIN:-pressbooks}; vendor/bin/phpunit --configuration web/app/plugins/$PB_PLUGIN/phpunit.xml",
"@standards"
],
"standards": [
"PB_PLUGIN=${PB_PLUGIN:-pressbooks}; vendor/bin/phpcs --standard=web/app/plugins/$PB_PLUGIN/phpcs.ruleset.xml web/app/plugins/$PB_PLUGIN/*.php web/app/plugins/$PB_PLUGIN/inc/ web/app/plugins/$PB_PLUGIN/bin/"
],
"fix": [
"PB_PLUGIN=${PB_PLUGIN:-pressbooks}; vendor/bin/phpcbf --standard=web/app/plugins/$PB_PLUGIN/phpcs.ruleset.xml web/app/plugins/$PB_PLUGIN/*.php web/app/plugins/$PB_PLUGIN/inc/ web/app/plugins/$PB_PLUGIN/bin/"
],
"readme": [
"PB_PLUGIN=${PB_PLUGIN:-pressbooks}; vendor/bin/wp2md -i web/app/plugins/$PB_PLUGIN/readme.txt -o web/app/plugins/$PB_PLUGIN/README.md"
],
"test-theme": [
"PB_THEME=${PB_THEME:-pressbooks-book}; vendor/bin/phpunit --configuration web/app/themes/$PB_THEME/phpunit.xml",
"@standards-theme"
],
"standards-theme": [
"PB_THEME=${PB_THEME:-pressbooks-book}; vendor/bin/phpcs --standard=web/app/themes/$PB_THEME/phpcs.ruleset.xml web/app/themes/$PB_THEME/*.php web/app/themes/$PB_THEME/inc/ web/app/themes/$PB_THEME/bin/"
],
"fix-theme": [
"PB_THEME=${PB_THEME:-pressbooks-book}; vendor/bin/phpcbf --standard=web/app/themes/$PB_THEME/phpcs.ruleset.xml web/app/themes/$PB_THEME/*.php web/app/themes/$PB_THEME/inc/ web/app/themes/$PB_THEME/bin/"
]
}
}