forked from OPUS4/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
79 lines (79 loc) · 2.28 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
74
75
76
77
78
79
{
"name": "opus4-repo/framework",
"description": "Framework for Opus 4",
"license": "GPL-2.0+",
"type": "library",
"keywords": [
"opus4",
"framework"
],
"homepage": "http://opus4.kobv.de",
"require": {
"ext-dom": "*",
"ext-pdo": "*",
"ext-fileinfo": "*",
"ext-libxml": "*",
"zendframework/zendframework1": "1.12.*",
"opus4-repo/opus4-common": "dev-master",
"opus4-repo/opus4-doi": "4.7"
},
"autoload": {
"psr-4": {
"Opus\\": "library/Opus"
}
},
"autoload-dev": {
"psr-4": {
"OpusTest\\": "tests/Opus"
}
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"phpunit/dbunit": "~1.3",
"behat/behat": "3.3.*",
"phpunit/php-invoker": "~1.1",
"phpunit/phpunit-selenium": "1.4.2",
"doctrine/instantiator": "1.0.5",
"phploc/phploc": "*",
"phpdocumentor/phpdocumentor": "2.*",
"phpmd/phpmd" : "2.*",
"sebastian/phpcpd": "*",
"mayflower/php-codebrowser": "~1.1",
"squizlabs/php_codesniffer": "2.*",
"opus4-repo/codesniffer": "dev-master",
"zendframework/zend-coding-standard": "~1.0.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"archive": {
"exclude": ["/tests", "/nbproject"]
},
"scripts": {
"analysis": [
"Composer\\Config::disableProcessTimeout",
"@prepare",
"@cs-report",
"@phpmd",
"@phpcpd"
],
"check-full": [
"@prepare",
"@cs-report",
"@test-coverage"
],
"prepare": "mkdir -p build",
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"phpunit --log-junit build/phpunit.xml --colors=always --coverage-html build/ --coverage-clover build/clover.xml"],
"test": [
"Composer\\Config::disableProcessTimeout",
"phpunit --log-junit build/phpunit.xml --colors=always"
],
"cs-check": "phpcs -n --extensions=php,phtml,css,js,inc",
"cs-fix": "phpcbf --extensions=php,phtml,css,js,inc",
"cs-report": "phpcs -n --report=checkstyle --report-file=build/checkstyle.xml",
"phpmd": "phpmd library xml cleancode,unusedcode,design,naming --reportfile build/phpmd.xml --ignore-violations-on-exit",
"phploc": "phploc --log-csv build/phploc.csv src",
"phpcpd": "phpcpd . --min-lines 3 --min-tokens 30 --log-pmd build/pmd-cpd.xml --progress || true"
}
}