-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
69 lines (69 loc) · 1.76 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
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "kialo/moodle-plugin",
"description": "Integrates Kialo Edu into Moodle",
"minimum-stability": "dev",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Kialo",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4.0",
"oat-sa/lib-lti1p3-core": "^6.9",
"guzzlehttp/guzzle": "^6.5 || ^7.0",
"ext-openssl": "*",
"ext-json": "*",
"cache/adapter-common": "^1.2"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
"moodlehq/moodle-cs": "^v3.4.10",
"phpunit/phpunit": "^9.6",
"friendsofphp/php-cs-fixer": "^3.58",
"phpro/grumphp-shim": "^1.13"
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpro/grumphp-shim": true
}
},
"scripts": {
"phpcs": "phpcs --standard=moodle",
"php-cs-fixer": "php-cs-fixer --config=.php-cs-fixer.php",
"post-install-cmd": [
"phpcs --config-set default_standard moodle"
],
"lint": [
"phpcs --standard=moodle --ignore=vendor,development -s .",
"php-cs-fixer fix --dry-run --diff"
],
"fix": [
"phpcbf --standard=moodle --ignore=vendor,development .",
"php-cs-fixer fix"
],
"test": [
"cd development && ./sync.sh",
"cd development && ./tests-init.sh",
"cd development && ./tests-run-all.sh"
],
"test-single": [
"cd development && ./sync.sh",
"cd development && ./tests-init.sh",
"cd development && ./tests-run.sh"
],
"test-privacy": [
"cd development && ./sync.sh",
"cd development && ./tests-init.sh",
"cd development && ./tests-privacy.sh"
],
"bundle": [
"cd development && ./bundle.sh"
]
}
}