forked from timber/timber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
113 lines (113 loc) · 3.11 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
110
111
112
113
{
"name": "timber/timber",
"description": "Plugin to write WordPress themes w Object-Oriented Code and the Twig Template Engine",
"license": "MIT",
"type": "library",
"keywords": [
"timber",
"twig",
"themes",
"templating"
],
"authors": [
{
"name": "Jared Novack",
"email": "[email protected]",
"homepage": "http://upstatement.com"
},
{
"name": "Connor J. Burton",
"email": "[email protected]",
"homepage": "http://connorburton.com"
}
],
"homepage": "http://timber.upstatement.com",
"support": {
"issues": "https://github.com/timber/timber/issues",
"source": "https://github.com/timber/timber",
"docs": "https://timber.github.io/docs/"
},
"require": {
"php": "^7.4 || ^8.0",
"composer/installers": "^1.0 || ^2.0",
"symfony/polyfill-php80": "^1.27",
"twig/twig": "^2.15.3 || ^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-stubs/acf-pro-stubs": "^5.12",
"php-stubs/wp-cli-stubs": "^2.0",
"phpro/grumphp": "^1.12",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.7",
"squizlabs/php_codesniffer": "^3.0",
"symplify/easy-coding-standard": "^12.0",
"szepeviktor/phpstan-wordpress": "^1.1",
"twig/cache-extra": "^3.3",
"wpackagist-plugin/advanced-custom-fields": "^5.0 || ^6.0",
"wpackagist-plugin/co-authors-plus": "^3.3",
"yoast/wp-test-utils": "^1.0"
},
"suggest": {
"php-coveralls/php-coveralls": "^2.0 for code coverage",
"twig/cache-extra": "For using the cache tag in Twig"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"autoload": {
"psr-4": {
"Timber\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TimberPHPStan\\": "tests/phpstan"
},
"classmap": [
"tests/"
],
"exclude-from-classmap": [
"tests/php",
"tests/phpstan"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"ergebnis/composer-normalize": true,
"phpro/grumphp": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"analyze": "phpstan",
"cs": "ecs check",
"cs:docs": "ecs check-markdown docs/v2/**/*.md --fix",
"cs:docs:fix": "ecs check-markdown docs/v2/**/*.md",
"cs:fix": "ecs check --fix",
"grump": "grumphp run",
"grump:install": "grumphp git:init",
"lint": "parallel-lint --exclude .git --exclude vendor .",
"lint-composer": "@composer normalize --dry-run",
"lint-composer:fix": "@composer normalize",
"qa": [
"@lint-composer",
"@lint",
"@test",
"@cs"
],
"test": "phpunit",
"test:codecov": "phpunit --coverage-clover ./build/logs/clover.xml",
"test:make-pot": "wp i18n make-pot src tests/languages/timber.pot --domain= && wp i18n make-pot ./tests/assets/translations ./tests/languages/timber-test.pot --domain=timber-test",
"test:no-cov": "phpunit --no-coverage"
}
}