forked from phaldan/discourse-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
53 lines (53 loc) · 1.47 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
{
"name": "phaldan/discourse",
"description": "Discourse SDK",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Philipp Daniels",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.1",
"guzzlehttp/guzzle": "^6.2"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "~1.1",
"phpunit/phpunit": "~6.1",
"sebastian/phpcpd": "^3.0",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"phpmd/phpmd": "^2.6",
"vimeo/psalm": "^0.3.41",
"friendsofphp/php-cs-fixer": "^2.3"
},
"autoload": {
"psr-4": {
"PhALDan\\Discourse\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhALDan\\Discourse\\": "tests/"
}
},
"scripts": {
"post-install-cmd": "vendor/bin/cghooks update",
"post-update-cmd": "vendor/bin/cghooks update",
"pre-commit": [
"#!/bin/bash\n",
"set -e\n",
"php --version\n",
"composer --version\n",
"composer validate\n",
"vendor/bin/parallel-lint tests src\n",
"vendor/bin/phpcpd -n src/ tests/\n",
"vendor/bin/psalm --find-dead-code\n",
"vendor/bin/phpmd src text .phpmd.xml\n",
"vendor/bin/php-cs-fixer fix\n",
"vendor/bin/phpunit --coverage-text\n"
]
}
}