-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
54 lines (54 loc) · 1.67 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
{
"name": "terminus-plugin-project/terminus-code-plugin",
"description": "Code - A Terminus plugin to clone the code from any available Pantheon site environment to your local system.",
"authors": [
{
"name": "Ed Reel",
"email": "[email protected]",
"homepage": "https://github.com/uberhacker",
"role": "Developer"
}
],
"type": "terminus-plugin",
"keywords": [
"pantheon",
"terminus",
"code",
"plugin"
],
"support": {
"issues": "https://github.com/terminus-plugin-project/terminus-code-plugin/issues"
},
"license": "MIT",
"require": {
"php": "^5.5 || ^7.0 || ^8.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.7"
},
"scripts": {
"install-bats": "if [ ! -f bin/bats ] ; then git clone https://github.com/sstephenson/bats.git; mkdir -p bin; bats/install.sh .; fi",
"bats": "TERMINUS_PLUGINS_DIR=.. bin/bats tests",
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"confirm-install": "bin/bats tests/functional/confirm-install.bats",
"test-output": "bin/bats tests/functional/test-output.bats",
"cleanup": "if [ -d $TERMINUS_SITE ]; then rm -rf $TERMINUS_SITE; fi",
"test": [
"@install-bats",
"@bats",
"@cs",
"@confirm-install",
"@test-output",
"@cleanup"
]
},
"autoload": {
"psr-4": { "TerminusPluginProject\\TerminusCode\\": "src" }
},
"extra": {
"terminus": {
"compatible-version": "^2"
}
}
}