forked from Cecilapp/Cecil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
139 lines (139 loc) · 4.5 KB
/
composer.json
File metadata and controls
139 lines (139 loc) · 4.5 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
{
"name": "cecil/cecil",
"type": "library",
"description": "Your 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": ">=7.1",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-mbstring": "*",
"benjaminhoegh/parsedown-toc": "^1.4",
"cocur/slugify": "^4.0",
"dflydev/dot-access-data": "^3.0",
"erusev/parsedown-extra": "^0.8",
"intervention/image": "^2.6",
"matthiasmullie/minify": "^1.3",
"myclabs/php-enum": "^1.7",
"padraic/humbug_get_contents": "^1.1",
"padraic/phar-updater": "^1.0",
"psr/log": "^1.1",
"psr/simple-cache": "^1.0",
"scrivo/highlight.php": "^9.18",
"scssphp/scssphp": "^1.10",
"spatie/image-optimizer": "^1.1",
"symfony/console": "^4.4",
"symfony/filesystem": "^4.4",
"symfony/finder": "^4.4",
"symfony/process": "^4.4",
"symfony/property-access": "^4.4",
"symfony/serializer": "^4.4",
"symfony/yaml": "^4.4",
"twig/extensions": "1.5.4.x-dev",
"twig/twig": "^2.13",
"voku/html-min": "^4.4",
"wapmorgan/mp3info": "^0.0",
"yosymfony/resource-watcher": "^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.8",
"humbug/box": "3.7.4.x-dev",
"phpmd/phpmd": "^2.10",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.6",
"symfony/var-dumper": "^4.4"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true
},
"platform": {
"php": "7.1.3"
},
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "5.x-dev"
}
},
"autoload": {
"psr-4": {
"Cecil\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Cecil\\Test\\": "tests/"
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Cecilapp/box"
},
{
"type": "vcs",
"url": "https://github.com/Cecilapp/Twig-extensions"
}
],
"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",
"box": "@build",
"build": "box compile",
"code:analyse": "phpstan analyse src --memory-limit=1G --level=1 --no-progress --error-format=github",
"code:style": "phpcs ./src/ --standard=PSR2 -n",
"test": "@test:integration",
"test:bin": "cd bin && php cecil --version && mkdir skeleton && php cecil new:site skeleton -f && php cecil build skeleton -v && rm -rf skeleton",
"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/latest/download/php-coveralls.phar -O coveralls.phar",
"chmod +x coveralls.phar",
"php coveralls.phar --version"
],
"test:coverage:upload": "php coveralls.phar -v",
"test:integration": "phpunit -c ./ --testsuite=IntegrationTests",
"test:phar": "box compile && cd dist && php cecil.phar --version && mkdir skeleton && php cecil.phar new:site skeleton -f && php cecil.phar build skeleton -v && php cecil.phar show:content skeleton && rm -rf skeleton",
"test:unit": "phpunit -c ./ --testsuite=UnitTests"
},
"scripts-descriptions": {
"box": "Alias of build.",
"build": "Builds the PHAR file.",
"code:analyse": "Analyses code with PHPStan (PHP Static Analysis Tool).",
"code:style": "Corrects coding standard violations with PHP_CodeSniffer",
"test": "Runs tests suite.",
"test:bin": "Runs the binary to create a new skeleton site.",
"test:coverage": "Runs functional tests suite with code coverage.",
"test:coverage:install": "Installs the php-coveralls binary.",
"test:coverage:upload": "Uploads tests coverage results.",
"test:integration": "Runs integration tests suite.",
"test:phar": "Builds the PHAR file and trys to create a new skeleton site.",
"test:unit": "Runs unit tests suite."
},
"support": {
"issues": "https://github.com/Cecilapp/Cecil/issues",
"source": "https://github.com/Cecilapp/Cecil"
}
}