-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
40 lines (40 loc) · 1.26 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
{
"name": "cdekok/xml-transform",
"description": "XML to Array transformer",
"keywords": ["xml","mapping","transformer"],
"license": "MIT",
"authors": [
{
"name": "cdekok",
"email": "[email protected]"
}
],
"require": {
"php": "^7.0",
"lib-libxml": "*"
},
"autoload": {
"exclude-from-classmap": ["/test/"],
"psr-4": {
"XmlTransform\\": "src"
}
},
"autoload-dev": {
"psr-0": {
"XmlTransform\\Test": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^5.6",
"phpro/grumphp": "^0.9.6",
"squizlabs/php_codesniffer": "^2.7",
"satooshi/php-coveralls": "^1.0"
},
"scripts": {
"format": "phpcbf src/ --standard=PSR2 --no-patch",
"report": "phpunit --log-junit 'report/phpunit/unitreport.xml' --coverage-html='report/phpunit/coverage' --coverage-clover='report/phpunit/coverage.xml' --coverage-text && phpcs --standard=PSR2 -n --report=checkstyle --report-file=report/checkstyle.xml src\/",
"coverage-server": "cd report/phpunit/coverage && php -S localhost:5555",
"coveralls": "php vendor/bin/coveralls -v",
"test": "grumphp git:pre-commit"
}
}