/
composer.json
82 lines (82 loc) · 2.51 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
{
"name": "phel-lang/phel-lang",
"type": "library",
"description": "Phel is a functional programming language that compiles to PHP",
"keywords": ["phel","lisp","functional","language"],
"homepage": "https://phel-lang.org/",
"license": "MIT",
"authors": [
{
"name": "Jens Haase",
"email": "je.haase@gmail.com"
}
],
"require": {
"ext-json": "*",
"php": ">=7.4",
"phel-lang/phel-composer-plugin": "^0.2",
"gacela-project/gacela": "^0.2.0"
},
"require-dev": {
"ext-readline": "*",
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.7.0",
"friendsofphp/php-cs-fixer": "^2.18",
"infection/infection": "^0.21",
"symfony/var-dumper": "^5.2",
"phpmetrics/phpmetrics": "^2.7",
"phpbench/phpbench": "^1.0"
},
"autoload": {
"psr-4": {
"Phel\\": "src/php/"
}
},
"autoload-dev": {
"psr-4": {
"PhelTest\\": "tests/php"
}
},
"scripts": {
"test-all": [
"@test-quality",
"@test-compiler",
"@test-core"
],
"test-quality": [
"@csrun",
"@psalm"
],
"test-compiler": "./vendor/bin/phpunit --testsuite=integration,unit",
"test-compiler:coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite=integration,unit --coverage-html=data/coverage-html --coverage-xml=data/coverage-xml --log-junit=data/coverage-xml/junit.xml",
"test-infection": "XDEBUG_MODE=coverage ./vendor/bin/infection --threads=4 --only-covered --coverage=data/coverage-xml",
"test-core": "./phel test",
"psalm": "./vendor/bin/psalm --no-cache",
"csfix": "./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"csrun": "./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
"metrics-report": "./vendor/bin/phpmetrics --report-html=data/metrics-report src/php"
},
"bin": [
"phel"
],
"extra": {
"phel": {
"loader": {
"phel\\": "src/phel/"
},
"loader-dev": {
"phel\\": "tests/phel/"
},
"tests": [
"tests/phel/"
],
"export": {
"directories": [
"src/phel"
],
"namespace-prefix": "PhelGenerated",
"target-directory": "src/PhelGenerated"
}
}
}
}