-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
46 lines (44 loc) · 1.64 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
{
"name": "moodle/moodle-mod_exescorm",
"description": "Moodle ExeSCORM plugin",
"require-dev": {
"moodlehq/moodle-local_codechecker": "^3.0",
"squizlabs/php_codesniffer": "^3.6",
"phpunit/phpunit": "^9.5",
"behat/behat": "^3.8",
"phpmd/phpmd": "^2.14.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"moodlehq/moodle-cs": "^3.4.10"
},
"scripts": {
"lint": [
"phpcs --standard=moodle --extensions=php --ignore=vendor/* -p -w -s --no-cache --colors --report-full --report-width=132 --encoding=utf-8 ."
],
"fix": [
"phpcbf --standard=moodle --extensions=php --ignore=vendor/* -p -w -s --no-cache --colors --report-full --report-width=132 --encoding=utf-8 ."
],
"test": [
"phpunit",
"phpcs --standard=moodle --extensions=php --ignore=vendor/,node_modules/ .",
"phpcbf --standard=moodle --extensions=php --ignore=vendor/,node_modules/ ."
],
"phpmd": [
"curl -o phpmd-rules.xml https://raw.githubusercontent.com/moodlehq/moodle-plugin-ci/refs/heads/main/res/config/phpmd.xml",
"phpmd . text phpmd-rules.xml"
],
"behat": [
"vendor/bin/behat --config behat.yml"
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true
}