-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
69 lines (69 loc) · 1.95 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
{
"type": "library",
"name": "charcoal/translator",
"description": "Charcoal service provider for translating messages and managing locales.",
"keywords": ["charcoal", "translator", "translation", "i18n", "l10n", "g11n"],
"homepage": "https://locomotivemtl.github.io/charcoal-translator/",
"license": "MIT",
"authors": [
{
"name": "Mathieu Ducharme",
"email": "mat@locomotive.ca"
},
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
}
],
"extra": {
"branch-alias": {
"dev-main": "5.x-dev"
}
},
"require": {
"php": "^7.4 || ^8.0",
"charcoal/config": "^5.0",
"symfony/translation": "^3.4",
"pimple/pimple": "^3.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5",
"php-coveralls/php-coveralls": "^2.2",
"charcoal/admin": "^5.0",
"charcoal/app": "^5.0"
},
"suggest": {
"charcoal/app": "To run the parser script."
},
"autoload": {
"psr-4": {
"Charcoal\\": "src/Charcoal/"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Tests\\": "tests/Charcoal"
}
},
"replace": {
"locomotivemtl/charcoal-translator": "*"
},
"scripts": {
"test": [
"@tests"
],
"tests": [
"@phplint",
"@phpcs",
"@phpunit"
],
"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"
},
"minimum-stability": "dev",
"prefer-stable": true
}