-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 2.06 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
{
"name": "everton3x/html-object-model",
"description": "Library for creating object-oriented HTML entities, in the Document Object Model style.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Everton da Rosa",
"email": "everton3x@gmail.com",
"homepage": "https://everton3x.github.io",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/everton3x/html-object-model/issues",
"docs": "https://github.com/everton3x/html-object-model/wiki"
},
"minimum-stability": "dev",
"require": {
"php": "^7.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"squizlabs/php_codesniffer": "*",
"phpmd/phpmd": "^2.8",
"sebastian/phpcpd": "^5.0",
"phpstan/phpstan": "^0.12.14",
"phpunit/phpunit": "^9.0",
"phpunit/php-code-coverage": "^8.0"
},
"autoload-dev": {
"psr-4": {
"HtmlObjectModel\\": "src",
"Example\\": "examples/real_example"
}
},
"scripts": {
"pretty-code": [
"php-cs-fixer fix src/",
"phpcbf src/"
],
"check-copypaste": "phpcpd --fuzzy src/",
"check-code-standard": "phpcs --standard=PSR1,PSR2 src/",
"check-mess-detector": "phpmd src/ text cleancode,codesize,controversial,design,naming,unusedcode",
"code-static-analyse": "phpstan analyse -c phpstan.neon -l 8 src/",
"test-code": "phpunit --coverage-html coverage --coverage-text --whitelist=src --colors --testdox ./tests",
"github": [
"git add .",
"git commit",
"git push"
]
},
"scripts-descriptions": {
"pretty-code": "Run php-cs-fixer and phpcbf",
"check-copypaste": "Run phpcpd",
"check-code-standard": "Run phpcs",
"check-mess-detector": "Run phpmd",
"code-static-analyse": "Run phpstan",
"test-code": "Run phpunit",
"github": "git add + git commit + git push"
}
}