-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
54 lines (54 loc) · 1.64 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
{
"name": "php-school/workshop-starter-kit",
"description": "PHP Workshop Starter Kit",
"type": "php-school-workshop",
"keywords": ["cli", "console", "terminal", "phpschool", "php-school", "workshop", "learning", "education"],
"homepage": "https://www.phpschool.io",
"license": "MIT",
"authors": [
{
"name": "Aydin Hassan",
"email": "[email protected]"
}
],
"require" : {
"php": ">=7.3",
"php-school/php-workshop": "^4.0.1"
},
"require-dev": {
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.7",
"composer/composer": "^2.0",
"phpstan/phpstan": "^1.8.11"
},
"autoload" : {
"psr-4" : {
"WorkshopCreator\\": "src/WorkshopCreator"
}
},
"autoload-dev": {
"psr-4": {}
},
"scripts" : {
"pre-install-cmd": "WorkshopCreator\\Creator::install",
"pre-update-cmd": "WorkshopCreator\\Creator::install",
"post-install-cmd": "WorkshopCreator\\Creator::summary",
"post-update-cmd": "WorkshopCreator\\Creator::summary",
"test": [
"@unit-tests",
"@cs",
"@static"
],
"unit-tests": "phpunit",
"cs" : [
"phpcs src --standard=PSR12",
"phpcs test --standard=PSR12 --ignore='test/solutions'"
],
"cs-fix" : [
"phpcbf src --standard=PSR12 --encoding=UTF-8",
"phpcbf test --standard=PSR12 --encoding=UTF-8 --ignore='test/solutions'"
],
"static": "phpstan --ansi analyse --level max src"
},
"bin": ["bin/my-workshop"]
}