forked from odan/twig-assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
62 lines (62 loc) · 1.99 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
{
"name": "odan/twig-assets",
"type": "library",
"description": "Caching and compression for Twig assets (JavaScript and CSS).",
"keywords": [
"twig",
"assets",
"cache",
"javascript",
"css",
"minify"
],
"homepage": "https://github.com/odan/twig-assets",
"license": "MIT",
"authors": [
{
"name": "odan",
"homepage": "https://github.com/odan"
}
],
"require": {
"php": "^7.2.5",
"symfony/cache": "^4.2.12|^5.0",
"tubalmartin/cssmin": "^4.1",
"mrclay/jsmin-php": "^2.4"
},
"require-dev": {
"overtrue/phplint": "^1.1",
"phpstan/phpstan": "*",
"phpunit/phpunit": "^6.0|^7.0",
"mikey179/vfsstream": "^1.6",
"squizlabs/php_codesniffer": "^3.4",
"twig/twig": "^3.0"
},
"scripts": {
"test": "phpunit --configuration phpunit.xml",
"test-coverage": "phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --coverage-html build/coverage",
"check-style": "phpcs --standard=phpcs.xml",
"fix-style": "phpcbf --standard=phpcs.xml",
"phpstan": "phpstan analyse src tests --level=max -c phpstan.neon --no-progress",
"lint": "phplint ./ --exclude=vendor --no-interaction --no-cache",
"install-cs": "php -r \"@mkdir('build'); copy('https://cs.symfony.com/download/php-cs-fixer-v2.phar', 'build/php-cs-fixer-v2.phar');\"",
"fix-cs": "php build/php-cs-fixer-v2.phar fix --config=.cs.php",
"check-cs": "php build/php-cs-fixer-v2.phar fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.cs.php",
"check-all": [
"@lint",
"@check-style",
"@phpstan",
"@test-coverage"
]
},
"autoload": {
"psr-4": {
"Odan\\Twig\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Odan\\Twig\\Test\\": "tests"
}
}
}