-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
69 lines (69 loc) · 2.18 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": "locomotivemtl/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"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "0.4.x-dev"
}
},
"require": {
"php": ">=7.1",
"ext-json": "*",
"psr/http-message": "^1.0",
"locomotivemtl/charcoal-config": "~0.8",
"erusev/parsedown": "^1.7"
},
"require-dev": {
"phpunit/phpunit": "^8.2",
"squizlabs/php_codesniffer": "^3.0",
"php-coveralls/php-coveralls": "^2.0",
"mustache/mustache": "^2.11",
"twig/twig": "^1.31",
"pimple/pimple": "^3.0",
"slim/slim": "^3.7",
"locomotivemtl/charcoal-translator": "~0.3",
"phpstan/phpstan": "^0.12.18"
},
"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"
}
},
"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/"
}
}