-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
46 lines (46 loc) · 1.35 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
{
"name": "pantheon-systems/terminus-addons-installer-plugin",
"description": "Allows Terminus to trigger workflows on the platform that configure themes & plugins.",
"type": "terminus-plugin",
"license": "MIT",
"autoload": {
"psr-4": { "Pantheon\\TerminusScaffoldExtension\\": "src" }
},
"require-dev": {
"phpunit/phpunit": "^9",
"symfony/yaml": "^5",
"squizlabs/php_codesniffer": "^3.6"
},
"scripts": {
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"phplint": "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"lint": [
"@phplint",
"@cs"
],
"unit": "phpunit --colors=always tests",
"functional": [
"Composer\\Config::disableProcessTimeout",
"./tests/bin/run-tests.sh"
],
"install-bats": "if [ ! -f tools/bin/bats ] ; then git clone https://github.com/sstephenson/bats.git tools/bats; tools/bats/install.sh tools; fi",
"install-tools": [
"@install-bats"
],
"test": [
"@lint",
"@unit"
],
"test:all": [
"@test",
"@functional",
"@cs"
]
},
"extra": {
"terminus": {
"compatible-version": "^3"
}
}
}