-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
51 lines (51 loc) · 1.45 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
{
"name": "moon-php/moon",
"description": "Moon PHP web microframework based on interchangeable PSR-only components",
"license": "MIT",
"homepage": "https://www.moon-php.com/",
"require": {
"php": ">=7.1",
"psr/container": "^1.0",
"psr/http-message": "^1.0",
"fig/http-message-util": "^1.1",
"psr/http-server-handler": "^1.0",
"ext-json": "*"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"friendsofphp/php-cs-fixer": "^2.12",
"damianopetrungaro/php-commitizen": "^0.1.2",
"phpstan/phpstan": "^0.10.1",
"php-coveralls/php-coveralls": "^2.1",
"jangregor/phpstan-prophecy": "^0.2.0",
"phpunit/phpunit": "^7.3"
},
"authors": [
{
"name": "Damiano Petrungaro",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Moon\\Moon\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Moon\\Moon\\": "tests/Unit"
}
},
"scripts": {
"inspire": "curl -s https://favqs.com/api/qotd | json_pp | awk -F ':[ \t]*' '/^.*\"body\"/ {print $2}'",
"fix": "@php vendor/bin/php-cs-fixer fix --config=.php_cs.dist",
"tests": "@php vendor/bin/phpunit",
"analyse": "@php vendor/bin/phpstan analyse src tests"
},
"scripts-descriptions": {
"inspire": "Will print an inspiring quote",
"fix": "Clean and optimize src and tests directories",
"tests": "Run unit tests",
"analyse": "Analyse project quality using PHPStan"
}
}