-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
55 lines (55 loc) · 1.55 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
{
"name": "pressbooks/pressbooks-book",
"description":
"This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.",
"type": "wordpress-theme",
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": "^8.1",
"composer/installers": "^2",
"pressbooks/mix": "^2.1",
"phpcompatibility/php-compatibility": "^9.3"
},
"require-dev": {
"pressbooks/coding-standards": "^1.1",
"yoast/phpunit-polyfills": "^1.1"
},
"archive": {
"exclude": [".github", ".tx", "bin"]
},
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Pressbooks (Book Oven Inc.)",
"email": "[email protected]"
}
],
"keywords": [
"academic",
"literary",
"nonfiction",
"textbook"
],
"scripts": {
"test": [
"vendor/bin/phpunit --configuration phpunit.xml"
],
"test-coverage": [
"vendor/bin/phpunit --configuration phpunit.xml --coverage-clover coverage.xml --coverage-html=./coverage-reports"
],
"standards": [
"vendor/bin/phpcs --standard=phpcs.ruleset.xml inc partials *.php"
],
"fix": [
"vendor/bin/phpcbf --standard=phpcs.ruleset.xml inc partials *.php"
],
"localize": [
"wp-pot -o=languages/pressbooks-book.pot -d=pressbooks-book -t 'Pressbooks (Book Oven Inc.) <[email protected]>' -s '*.php'"
]
}
}