-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathcomposer.json
150 lines (150 loc) · 5.16 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "cecil/cecil",
"type": "library",
"description": "A simple and powerful content-driven static site generator.",
"keywords": [
"static site generator",
"markdown",
"twig"
],
"homepage": "https://cecil.app",
"license": "MIT",
"authors": [
{
"name": "Arnaud Ligny",
"email": "[email protected]",
"homepage": "https://arnaudligny.fr",
"role": "Developer"
}
],
"require": {
"php": "^8.1||^8.2||^8.3||^8.4",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-mbstring": "*",
"benjaminhoegh/parsedown-toc": "^1.5",
"cecil/resource-watcher": "^4.0",
"clwu/php-read-mp4info": "^2.0",
"cocur/slugify": "^4.6",
"dflydev/dot-access-data": "^3.0",
"erusev/parsedown-extra": "^0.8",
"intervention/image": "^3.10",
"laravel-zero/phar-updater": "^1.4",
"matthiasmullie/minify": "^1.3",
"performing/twig-components": "^0.6",
"psr/log": "^3.0",
"psr/simple-cache": "^3.0",
"scrivo/highlight.php": "^9.18",
"scssphp/scssphp": "^2.0",
"spatie/image-optimizer": "^1.8",
"symfony/config": "^6.4",
"symfony/console": "^6.4",
"symfony/filesystem": "^6.4",
"symfony/finder": "^6.4",
"symfony/polyfill-intl-icu": "^1.31",
"symfony/process": "^6.4",
"symfony/property-access": "^6.4",
"symfony/serializer": "^6.4",
"symfony/translation": "^6.4",
"symfony/twig-bridge": "^6.4",
"symfony/validator": "^6.4",
"symfony/var-dumper": "^6.4",
"symfony/yaml": "^6.4",
"twig/intl-extra": "^3.18",
"twig/twig": "^3.18",
"voku/html-min": "^4.5",
"wapmorgan/mp3info": "^0.1",
"yosymfony/toml": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.45",
"friendsofphp/php-cs-fixer": "^3.66",
"humbug/box": "^4.5",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.11"
},
"provide": {
"psr/log-implementation": "3.0",
"psr/simple-cache-implementation": "3.0"
},
"suggest": {
"ext-intl": "Intl locales support."
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true
},
"platform": {
"php": "8.1.27"
},
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "8.x-dev"
}
},
"autoload": {
"psr-4": {
"Cecil\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Cecil\\Test\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"bin": [
"bin/cecil"
],
"scripts": {
"post-install-cmd": "cd ./tests/fixtures/website && composer install",
"post-update-cmd": "cd ./tests/fixtures/website && composer update",
"build": "box compile",
"code": ["@code:analyse", "@code:fix", "@code:style"],
"code:analyse": "phpstan analyse ./src/ --memory-limit=1G --level=2 --no-progress --error-format=raw",
"code:analyse:gh": "phpstan analyse ./src/ --memory-limit=1G --level=2 --no-progress --error-format=github",
"code:md": "phpmd ./src text codesize,unusedcode,naming",
"code:md:gh": "phpmd ./src github codesize,unusedcode,naming",
"code:style": "phpcs ./src/ --standard=PSR12 -n",
"code:fix": "php-cs-fixer fix --allow-risky=yes --show-progress=none",
"test": "@test:integration",
"test:integration": "phpunit -c ./ --testsuite=IntegrationTests",
"test:coverage": "phpunit -c ./ --testsuite=IntegrationTests --coverage-text --coverage-clover=build/logs/clover.xml",
"test:coverage:install": [
"wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar -O coveralls.phar",
"chmod +x coveralls.phar",
"php coveralls.phar --version"
],
"test:coverage:upload": "php coveralls.phar -v",
"test:bin": "cd bin && php cecil --version && mkdir demo && php cecil new:site demo --demo -f -n && php cecil new:page demo -f -n && php cecil build demo -v && rm -rf demo",
"test:phar": "box compile && cd dist && php cecil.phar --version && mkdir demo && php cecil.phar new:site demo --demo -f -n && php cecil.phar new:page demo -f -n && php cecil.phar build demo -v && php cecil.phar show:content demo && rm -rf demo"
},
"scripts-descriptions": {
"build": "Builds cecil.phar",
"code": "Runs code quality checks",
"code:analyse": "Analyses code with PHPStan",
"code:md": "Look for several potential problems in code with PHP Mess Detector",
"code:style": "Corrects coding standard violations with PHP CodeSniffer",
"code:fix": "Fix code according to the PSR12",
"test": "Runs tests suite",
"test:integration": "Runs integration tests suite",
"test:coverage": "Runs tests suite with code coverage",
"test:coverage:install": "Installs the php-coveralls binary",
"test:coverage:upload": "Uploads tests coverage results",
"test:bin": "Runs bin/cecil to create a new demo site",
"test:phar": "Builds cecil.phar then create a new demo site"
},
"scripts-aliases": {
"build": ["box"]
},
"support": {
"issues": "https://github.com/Cecilapp/Cecil/issues",
"source": "https://github.com/Cecilapp/Cecil"
}
}