-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
57 lines (57 loc) · 1.78 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
{
"name": "artisansdk/machine",
"description": "A collection of machine learning algorithms to predict and classify.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Daniel LaBarge",
"email": "[email protected]"
}
],
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"require": {
"php": ">=7.0",
"artisansdk/contract": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "~7.2",
"friendsofphp/php-cs-fixer": "~2.10",
"pdepend/pdepend": "~2.5.0",
"phploc/phploc": "~4.0.0",
"phpmd/phpmd": "~2.6.0",
"sebastian/phpcpd": "~4.0.0"
},
"autoload": {
"psr-4": {
"ArtisanSdk\\Machine\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ArtisanSdk\\Machine\\Tests\\": "tests/"
}
},
"scripts": {
"fix": [
"vendor/bin/php-cs-fixer fix -v"
],
"test": [
"vendor/bin/phpunit --colors=always --no-coverage",
"vendor/bin/php-cs-fixer fix -v --diff --dry-run"
],
"report": [
"[ -d reports ] || mkdir reports",
"vendor/bin/phpunit --colors=always",
"vendor/bin/php-cs-fixer fix -v --diff --dry-run",
"vendor/bin/phpmd \"src/\" html codesize,cleancode,unusedcode,naming --reportfile reports/messes.html --ignore-violations-on-exit",
"vendor/bin/pdepend --summary-xml=reports/stats.xml \"src/\"",
"vendor/bin/phploc --log-xml=reports/summary.xml src/",
"vendor/bin/phpcpd src/ --log-pmd=reports/duplications.xml --min-lines=3 --min-tokens=35"
]
}
}