Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
79 lines (79 loc) · 2.08 KB
/
Copy pathcomposer.json
File metadata and controls
79 lines (79 loc) · 2.08 KB
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
{
"name": "libresign/wordpress-theme",
"description": "WordPress theme for the LibreSign SaaS",
"type": "wordpress-theme",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*"
]
}
],
"require": {
"php": ">=8.3 <8.6"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"composer/installers": "^2.3",
"roots/wordpress": "^7.0",
"wp-phpunit/wp-phpunit": "^7.0",
"wpackagist-plugin/woocommerce": "^11.0"
},
"autoload": {
"psr-4": {
"LibreSign\\WordPressTheme\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LibreSign\\WordPressTheme\\Tests\\": "tests/"
}
},
"config": {
"platform": {
"php": "8.3"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"composer/installers": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
},
"wordpress-install-dir": "vendor/wordpress",
"installer-paths": {
"vendor/test-plugins/{$name}/": [
"type:wordpress-plugin"
]
}
},
"scripts": {
"lint": "parallel-lint --exclude vendor --exclude vendor-bin .",
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse --memory-limit=2G",
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit",
"test:integration": "phpunit -c phpunit-integration.xml.dist",
"coverage": [
"@putenv XDEBUG_MODE=coverage",
"phpunit -c phpunit-coverage.xml.dist --coverage-clover=tests/.coverage/clover.xml"
],
"ci": [
"@lint",
"@cs",
"@stan",
"@test"
]
}
}