-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 loc) · 1.49 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
{
"name": "phramework/query-log",
"description": "Query log package for phramework",
"license": "Apache-2.0",
"homepage": "https://phramework.github.io/",
"type": "library",
"authors": [{
"name": "Xenofon Spafaridis",
"email": "[email protected]",
"homepage": "https://nohponex.gr"
}, {
"name": "Alexandros Kalliontzis",
"email": "[email protected]"
}],
"require": {
"php": ">=5.6",
"phramework/phramework": "^1.2"
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"phpunit/phpunit": "5.*",
"satooshi/php-coveralls": "dev-master"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Phramework\\QueryLog\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Phramework\\QueryLog\\APP\\": "tests/APP"
}
},
"archive": {
"exclude": [
"*",
".*",
"!/src/*"
]
},
"scripts": {
"doc": [
"apigen generate -s ./src -d ./doc --template-theme bootstrap --todo --tree --deprecated --no-source-code --title \"query-log\"",
"start=\"file://\";end=\"doc/index.html\"; echo \"\nOpen $start$(pwd)/$end\" in browser..."
],
"test": [
"find src/ -name '*.php' -print0 | xargs -0 -L 1 php -l",
"find tests/ -name '*.php' -print0 | xargs -0 -L 1 php -l",
"phpunit; start=\"file://\";end=\"build/coverage/index.html\"; echo \"\nOpen $start$(pwd)/$end\" in browser..."
],
"lint": "./vendor/bin/phpcs -p -s --standard=PSR2 ./src ./tests"
}
}