forked from madapaja/Madapaja.TwigModule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
49 lines (49 loc) · 1.2 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
{
"name": "madapaja/twig-module",
"description": "BEAR.Sunday Twig adapter module",
"keywords":[
"BEAR.Sunday",
"Twig",
"BEAR.Sunday module"
],
"license": "MIT",
"authors": [
{
"name": "Koji Iwasaki",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.0.0",
"bear/sunday": "^1.2",
"bear/app-meta": "^1.1",
"twig/twig": "^2.7",
"mobiledetect/mobiledetectlib": "^2.7",
"ray/di": "^2.7"
},
"require-dev": {
"phpunit/phpunit": "~5.7 < 6.0",
"squizlabs/php_codesniffer": "^2.8",
"phpmd/phpmd": "^2.6"
},
"autoload":{
"psr-4":{
"Madapaja\\TwigModule\\": "src/"
}
},
"autoload-dev":{
"psr-4": {
"Madapaja\\TwigModule\\": [
"tests",
"tests/Fake/src"
]
}
},
"scripts": {
"test": ["@setup", "vendor/bin/phpunit"],
"tests": ["@cs", "phpstan analyse -l max src tests -c phpstan.neon --no-progress", "@test"],
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"cs": ["php-cs-fixer fix -v --dry-run", "phpcs --standard=phpcs.xml src;"],
"cs-fix": ["php-cs-fixer fix -v", "phpcbf src tests"]
}
}