-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
61 lines (61 loc) · 1.71 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
{
"name": "rah/mtxpc",
"description": "Plugin Installer Compiler for Textpattern CMS",
"keywords": ["textpattern", "plugin"],
"homepage": "https://github.com/gocom/MassPlugCompiler",
"license": "GPL-2.0",
"type": "library",
"authors": [
{
"name": "Jukka Svahn",
"homepage": "https://github.com/gocom",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/gocom/MassPlugCompiler/issues",
"source": "https://github.com/gocom/MassPlugCompiler"
},
"autoload": {
"psr-4": {
"Rah\\Mtxpc\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Rah\\Mtxpc\\Test\\": "test/"
}
},
"bin": [
"bin/mtxpc"
],
"require": {
"php": ">=7.2.0",
"ext-json": "*",
"ext-mbstring": "*",
"ext-pcre": "*",
"ext-zlib": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5.20",
"squizlabs/php_codesniffer": "3.*",
"phpstan/phpstan": "^1.12.11",
"psy/psysh": "^0.12.4"
},
"scripts": {
"test": [
"@composer lint",
"@composer test:static",
"@composer test:unit",
"@composer test:integration"
],
"lint": "phpcs",
"lint-fix": "phpcbf",
"repl": "psysh",
"test:integration": "phpunit -c phpunit-integration.xml",
"test:static": "phpstan analyse --level 8 src test/Integration test/Unit",
"test:unit": "XDEBUG_MODE=coverage phpunit",
"generate-fixtures": "@php bin/generate-fixtures",
"compile": "@php -dphar.readonly=0 bin/compile && chmod +x build/mtxpc.phar"
}
}