-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
64 lines (64 loc) · 1.83 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
{
"type": "library",
"name": "locomotivemtl/charcoal-attachment",
"description": "Charcoal Attachments Module",
"homepage": "https://charcoal.locomotive.ca",
"license": "MIT",
"authors": [
{
"name": "Bene Roch",
"email": "[email protected]"
},
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "0.11.x-dev"
}
},
"require": {
"php": " >=7.1",
"locomotivemtl/charcoal-config": "~0.8",
"locomotivemtl/charcoal-core": "~0.4",
"locomotivemtl/charcoal-object": "~0.5",
"locomotivemtl/charcoal-translator": "~0.3"
},
"require-dev": {
"locomotivemtl/charcoal-admin": "~0.8",
"mockery/mockery": "^1.0",
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.3"
},
"suggest": {
"locomotivemtl/charcoal-admin": "To use the attachment widgets, actions, and scripts."
},
"autoload": {
"psr-4": {
"Charcoal\\": "src/Charcoal"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Tests\\": "tests/Charcoal"
}
},
"scripts": {
"test": [
"@tests"
],
"tests": [
"@phplint",
"@phpcs"
],
"phplint": "find src tests -type f -name '*.php' -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected'; test $? -eq 1",
"phpcs": "php vendor/bin/phpcs -ps --colors src/ tests/",
"phpcbf": "php vendor/bin/phpcbf -ps --colors src/ tests/",
"phpunit": "php vendor/bin/phpunit --coverage-text"
}
}