-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathcomposer.json
More file actions
164 lines (164 loc) · 6.09 KB
/
composer.json
File metadata and controls
164 lines (164 loc) · 6.09 KB
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"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": "arnaud@ligny.fr",
"homepage": "https://arnaudligny.fr",
"role": "Developer"
}
],
"require": {
"php": "^8.2||^8.3||^8.4||^8.5",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-mbstring": "*",
"benjaminhoegh/parsedown-toc": "^1.6",
"cecil/resource-watcher": "^4.1",
"dflydev/dot-access-data": "^3.0",
"erusev/parsedown-extra": "^0.9",
"intervention/image": "^3.11",
"james-heinrich/getid3": "^1.9",
"jolicode/jolinotif": "^3.2",
"laravel-zero/phar-updater": "^1.4",
"matthiasmullie/minify": "^1.3",
"performing/twig-components": "^0.7",
"psr/log": "^3.0",
"psr/simple-cache": "^3.0",
"scrivo/highlight.php": "^9.18",
"scssphp/scssphp": "^2.1",
"spatie/image-optimizer": "^1.8",
"symfony/config": "^7.4",
"symfony/console": "^7.4",
"symfony/dom-crawler": "^7.4",
"symfony/filesystem": "^7.4",
"symfony/finder": "^7.4",
"symfony/mime": "^7.4",
"symfony/polyfill-intl-icu": "^1.36",
"symfony/process": "^7.4",
"symfony/property-access": "^7.4",
"symfony/serializer": "^7.4",
"symfony/string": "^7.4",
"symfony/translation": "^7.4",
"symfony/twig-bridge": "^7.4",
"symfony/validator": "^7.4",
"symfony/var-dumper": "^7.4",
"symfony/yaml": "^7.4",
"twig/cache-extra": "^3.24",
"twig/intl-extra": "^3.24",
"twig/string-extra": "^3.24",
"twig/twig": "^3.24",
"voku/html-min": "^4.5",
"wapmorgan/mp3info": "^0.1",
"yosymfony/toml": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.51",
"friendsofphp/php-cs-fixer": "^3.95",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^11.5",
"squizlabs/php_codesniffer": "^4.0"
},
"provide": {
"psr/log-implementation": "3.0",
"psr/simple-cache-implementation": "3.0"
},
"suggest": {
"ext-intl": "Native Intl extension for improved performance; ICU support is already provided by symfony/polyfill-intl-icu.",
"ext-vips": "PHP vips extension support for image processing features (requires system libvips).",
"intervention/image-driver-vips": "libvips driver support for Intervention Image (requires ext-vips and system libvips)."
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true
},
"platform": {
"php": "8.2.99"
},
"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",
"build:phar": "@build",
"build:package": "phpacker build",
"build:package:download": "phpacker download \"Cecilapp/php-bin\"",
"code": ["@code:analyse", "@code:md", "@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 ./.phpmd-rules.xml --cache",
"code:md:gh": "phpmd ./src github ./.phpmd-rules.xml",
"code:style": "phpcs",
"code:fix": "php-cs-fixer fix --allow-risky=yes --show-progress=none",
"test": "@test:integration",
"test:integration": "phpunit -c ./ --testsuite=IntegrationTests",
"test:cli": "phpunit -c ./ --testsuite=IntegrationCliTests",
"test:coverage": "XDEBUG_MODE=coverage phpunit -c ./ --testsuite=IntegrationTests --coverage-text --coverage-clover=coverage/clover.xml",
"test:coverage:install": [
"wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.8.0/php-coveralls.phar -O coveralls.phar",
"chmod +x coveralls.phar",
"php coveralls.phar --version"
],
"test:coverage:upload": "php coveralls.phar -v --coverage_clover=coverage/clover.xml --json_path=coverage/coveralls-upload.json",
"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",
"build:phar": "Alias of build",
"build:package": "Builds the package with phpacker",
"build:package:download": "Downloads php binary for phpacker",
"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:cli": "Runs CLI 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"
}
}