-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
73 lines (73 loc) · 2.23 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
70
71
72
73
{
"type": "library",
"name": "charcoal/view",
"description": "Charcoal View (templates rendering and tools)",
"keywords": ["charcoal", "view", "templates", "mustache", "twig"],
"homepage": "https://charcoal.locomotive.ca",
"license": "MIT",
"authors": [
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
}
],
"extra": {
"branch-alias": {
"dev-main": "5.x-dev"
}
},
"require": {
"php": "^7.4 || ^8.0",
"ext-json": "*",
"psr/http-message": "^1.0",
"charcoal/config": "^5.0",
"erusev/parsedown": "^1.7"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5",
"php-coveralls/php-coveralls": "^2.2",
"mustache/mustache": "^2.11",
"twig/twig": "^3.4",
"pimple/pimple": "^3.0",
"slim/slim": "^3.7",
"charcoal/translator": "^5.0",
"phpstan/phpstan": "^1.6",
"charcoal/app": "^5.0"
},
"suggest": {
"mustache/mustache": "Mustache is suggested as the default templating engine.",
"twig/twig": "Twig is a second templating engine option, offering more features but not as integrated within Charcoal."
},
"autoload": {
"psr-4": {
"Charcoal\\View\\": "src/Charcoal/View"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Tests\\": "tests/Charcoal"
}
},
"replace": {
"locomotivemtl/charcoal-view": "*"
},
"scripts": {
"test": [
"@tests"
],
"tests": [
"@phplint",
"@phpcs",
"@phpunit",
"@phpstan"
],
"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 --coverage-clover build/logs/clover.xml",
"phpstan": "php vendor/bin/phpstan analyze -n -l3 src/"
},
"minimum-stability": "dev",
"prefer-stable": true
}