-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
67 lines (67 loc) · 2.34 KB
/
Copy pathcomposer.json
File metadata and controls
67 lines (67 loc) · 2.34 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
{
"name": "phalcon/crest",
"description": "Command line application for Phalcon",
"type": "library",
"license": "BSD-3-Clause",
"keywords": ["phalcon", "cli", "console", "generator", "scaffolding"],
"require": {
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"pds/composer-script-names": "^1",
"pds/skeleton": "^1",
"phalcon/code-quality": "^1.0",
"phalcon/phalcon": "v6.0.x-dev",
"phalcon/talon": "^1.0.0",
"phpstan/phpstan": "^2",
"phpunit/phpunit": "^10.5",
"squizlabs/php_codesniffer": "^3 || ^4"
},
"suggest": {
"ext-phalcon": "Phalcon C extension (^5) - alternative to the phalcon/phalcon package"
},
"autoload": {
"psr-4": { "Crest\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Crest\\Tests\\": "tests/" }
},
"bin": ["bin/crest"],
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"pds/skeleton": false,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": { "php": "8.1.0" }
},
"minimum-stability": "dev",
"prefer-stable": true,
"archive": {
"exclude": [
"/.github",
"/resources/docker",
"/resources/phpcs.xml",
"/resources/phpstan.neon",
"/resources/php-cs-fixer.php",
"/resources/phpunit.xml.dist",
"/resources/.env.example",
"/tests",
"docker-compose.yml"
]
},
"scripts": {
"analyze": "phpstan analyse -c resources/phpstan.neon",
"cs": "phpcs --standard=resources/phpcs.xml",
"cs-fix": "phpcbf --standard=resources/phpcs.xml",
"cs-fixer": "php-cs-fixer fix --config=resources/php-cs-fixer.php --dry-run --diff",
"cs-fixer-fix": "php-cs-fixer fix --config=resources/php-cs-fixer.php",
"infection": "infection --configuration=resources/infection.json5 --threads=max",
"test": "@php vendor/bin/talon run",
"test-coverage": "@php vendor/bin/talon run unit -- --coverage-clover tests/_output/coverage.xml",
"test-coverage-html": "@php vendor/bin/talon run unit -- --coverage-html tests/_output/coverage"
}
}