-
Notifications
You must be signed in to change notification settings - Fork 13
/
composer.json
51 lines (49 loc) · 1.44 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
{
"name": "org_heigl/ghostscript",
"description": "A PHP-Wrapper around the Ghostscript-CLI",
"type": "library",
"license": "MIT",
"require": {
"php": "^7.4||^8.0"
},
"authors": [
{
"name": "Andreas Heigl",
"email": "[email protected]"
}
],
"autoload" : {
"psr-4" : {
"Org_Heigl\\Ghostscript\\" : "src/"
}
},
"autoload-dev" : {
"psr-4" : {
"Org_Heigl\\GhostscriptTest\\" : "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"mockery/mockery": "^1.0"
},
"scripts" : {
"test" : "./vendor/bin/phpunit",
"api" : "./vendor/bin/phpdoc",
"test-coverage": "phpunit --coverage-clover clover.xml",
"upload-coverage": [
"curl -o coveralls -L https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar",
"chmod 755 coveralls",
"./coveralls -v"
],
"cs-download" : [
"curl -o phpcs -L https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.2.2/phpcs.phar",
"curl -o phpcs.asc -L https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.2.2/phpcs.phar.asc",
"# gpg --verify phpcs.asc phpcs",
"chmod 755 phpcs"
],
"cs-check": [
"@cs-download",
"./phpcs --version && ./phpcs"
]
}
}