-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
60 lines (60 loc) · 1.6 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
{
"type": "library",
"name": "charcoal/factory",
"description": "Charcoal object creation (Factory, AbstractFactory, Builder, Class Resolver)",
"keywords": ["charcoal"],
"homepage": "https://charcoal.locomotive.ca",
"license": "MIT",
"authors": [
{
"name": "Mathieu Ducharme",
"email": "mat@locomotive.ca"
},
{
"name": "Locomotive",
"homepage": "http://locomotive.ca"
}
],
"extra": {
"branch-alias": {
"dev-main": "5.x-dev"
}
},
"require": {
"php": "^7.4 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5",
"php-coveralls/php-coveralls": "^2.2"
},
"autoload": {
"psr-4": {
"Charcoal\\": "src/Charcoal/"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Tests\\": "tests/Charcoal/"
}
},
"replace": {
"locomotivemtl/charcoal-factory": "*"
},
"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
}