-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
48 lines (48 loc) · 1.29 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
{
"name": "pressbooks/excalibur",
"description": "Excalibur is a SWORD protocol client for Pressbooks.",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Pressbooks (Book Oven Inc.)",
"email": "[email protected]"
}
],
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": "^8.1",
"composer/installers": "^2.1",
"pressbooks/mix": "^2.1"
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.3",
"pressbooks/coding-standards": "^1.1",
"yoast/phpunit-polyfills": "^1.1"
},
"scripts": {
"test": [
"vendor/bin/phpunit --configuration phpunit.xml"
],
"test-coverage": [
"vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml"
],
"standards": [
"vendor/bin/phpcs --standard=phpcs.ruleset.xml *.php inc/ bin/"
],
"fix": [
"vendor/bin/phpcbf --standard=phpcs.ruleset.xml *.php inc/ bin/"
],
"localize": [
"wp-pot -s \"**/*.php\" -o languages/excalibur.pot -p \"Pressbooks\" -t \"Pressbooks (Book Oven Inc.) <[email protected]>\"",
"tx push -s",
"tx pull -a",
"bash bin/localize.sh"
]
}
}