-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
73 lines (73 loc) · 1.88 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
{
"name": "mwpd/scaffolder",
"description": "Reusable scaffolding library.",
"license": "MIT",
"authors": [
{
"name": "Alain Schlesser",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"MWPD\\Scaffolder\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MWPD\\Scaffolder\\Tests\\": "tests/src"
}
},
"require": {
"php": ">=7.2",
"composer/spdx-licenses": "^1.5",
"mustache/mustache": "^2.13",
"webmozart/path-util": "^2.3"
},
"require-dev": {
"g1a/composer-test-scenarios": "^3",
"jakub-onderka/php-parallel-lint": "^1.0",
"mikey179/vfsstream": "^1.6",
"php-coveralls/php-coveralls": "^2",
"phpunit/phpunit": "^8",
"squizlabs/php_codesniffer": "^3"
},
"scripts": {
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/humbug/box/releases/download/3.0.0/box.phar -o tools/box",
"chmod +x tools/box"
],
"phar:build": "env PATH=tools:$PATH box compile",
"anaylze": "phpstan",
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "phpunit --colors=always",
"lint": "parallel-lint --colors src",
"analyze": "phpstan analyze --ansi",
"test": [
"@lint",
"@unit",
"@cs",
"@analyze"
],
"release": [
"release VERSION"
],
"post-update-cmd": [
"dependency-licenses"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.2"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
}
}