-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
44 lines (44 loc) · 1.22 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
{
"name": "moon-php/autoloader",
"license": "MIT",
"description": "A very simple Autoloader with support for PSR4 and PSR0.",
"require": {
"php": ">=7.1"
},
"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",
"phpunit/phpunit": "^7.3"
},
"authors": [
{
"name": "Damiano Petrungaro",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Moon\\Autoloader\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Moon\\Autoloader\\Unit\\": "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"
}
}