-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
56 lines (56 loc) · 1.52 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
{
"name": "phramework/jsonapi",
"description": "jsonapi for Phramework",
"license": "Apache-2.0",
"homepage": "https://phramework.github.io/",
"type": "library",
"authors": [{
"name": "Xenofon Spafaridis",
"email": "[email protected]",
"homepage": "https://nohponex.gr"
}],
"require": {
"php": ">=7",
"phramework/phramework": "1.*",
"ext-json": "*",
"phramework/util": "^0.0.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"phpunit/phpunit": "5.*",
"apigen/apigen": "^4.1",
"satooshi/php-coveralls": "^2.0.0",
"codacy/coverage": "^1.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Phramework\\JSONAPI\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Phramework\\JSONAPI\\APP\\": "tests/APP"
}
},
"archive": {
"exclude": [
"*",
".*",
"!/src/*"
]
},
"scripts": {
"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",
"doc": [
"apigen generate -s ./src -d ./doc --template-theme bootstrap --todo --tree --deprecated --no-source-code --title \"phramework/jsonapi doc\"",
"start=\"file://\";end=\"doc/index.html\"; echo \"\nOpen $start$(pwd)/$end\" in browser..."
]
}
}