forked from pantheon-systems/terminus-decoupled-kit-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
36 lines (36 loc) · 1.16 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
{
"name": "pantheon-systems/terminus-decoupled-kit-plugin",
"description": "Creates a Decoupled Kit project for use on Pantheon",
"type": "terminus-plugin",
"license": "MIT",
"autoload": {
"psr-4": { "Pantheon\\TerminusDecoupledKit\\": "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",
"lint": "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"unit": "phpunit --colors=always tests",
"functional": "TERMINUS_PLUGINS_DIR=.. PATH=tools/bin:$PATH bats -p -t tests/functional",
"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",
"@functional",
"@cs"
]
},
"extra": {
"terminus": {
"compatible-version": "^1||^2||^3"
}
}
}