-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
80 lines (80 loc) · 2.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
{
"name": "villfa/composer-substitution-plugin",
"description": "Composer plugin replacing placeholders in the scripts section by dynamic values",
"license": [
"MIT"
],
"type": "composer-plugin",
"keywords": [
"composer",
"plugin",
"substitution",
"replacement",
"scripts"
],
"authors": [
{
"name": "Fabien VILLEPINTE",
"email": "[email protected]"
}
],
"homepage": "https://github.com/villfa/composer-substitution-plugin",
"require": {
"php": ">=5.3.2",
"ext-ctype": "*",
"ext-json": "*",
"composer-plugin-api": "^1.0 || ^2.0",
"psr/log": "^1.1"
},
"require-dev": {
"composer/composer": ">=1.1",
"phpunit/phpunit": "4.8.36 || 5.7.27 || 6.5.14 || ^8.5.21 || ^9.5.10"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"SubstitutionPlugin\\": "src/"
},
"files": [
"src/utils-functions.php"
]
},
"autoload-dev": {
"psr-4": {
"SubstitutionPlugin\\": [
"tests/e2e/",
"tests/unit/"
]
},
"files": [
"tests/BaseTestCase.php"
],
"exclude-from-classmap": [
"**/vendor/"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"extra": {
"class": "SubstitutionPlugin\\SubstitutionPlugin"
},
"scripts": {
"test": [
"@composer validate --no-interaction --strict",
"@test:unit",
"@test:e2e"
],
"test:bc": "phpunit --testsuite bc_tests",
"test:e2e": "phpunit --testsuite e2e_tests --stop-on-failure --debug",
"test:unit": "phpunit --testsuite unit_tests"
},
"scripts-descriptions": {
"test": "Validates and tests the plugin.",
"test:bc": "Runs backward compatibility tests",
"test:e2e": "Runs end to end tests",
"test:unit": "Runs unit tests"
}
}