-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
85 lines (83 loc) · 2.81 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "lifterlms/lite-lms",
"description": "Lite LMS by LifterLMS WordPress block plugin",
"type": "wordpress-plugin",
"license": "GPL-3.0+",
"authors": [
{
"name": "LifterLMS",
"email": "[email protected]"
}
],
"config": {
"lock": false,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"archive": {
"exclude": [
".*",
"*.lock",
"*.xml",
"*.xml.dist",
"*.config.js",
"CHANGELOG.md",
"composer.json",
"docker-compose.yml",
"package.json",
"package-lock.json",
"README.md",
"dist",
"node_modules",
"src",
"tests",
"tmp",
"vendor"
]
},
"minimum-stability": "dev",
"require": {
"php": "7.4.* || 8.0.* || 8.1.*"
},
"require-dev": {
"lifterlms/lifterlms-cs": "dev-trunk",
"lifterlms/lifterlms-tests": "dev-trunk"
},
"scripts": {
"check-cs": "\"vendor/bin/phpcs\" --colors",
"check-cs-errors": "\"vendor/bin/phpcs\" --colors --error-severity=1 --warning-severity=6",
"config-cs": [
"\"vendor/bin/phpcs\" --config-set installed_paths ../../../vendor/wp-coding-standards/wpcs,../../../vendor/lifterlms/lifterlms-cs,../../../vendor/phpcompatibility/php-compatibility,../../../vendor/phpcompatibility/phpcompatibility-paragonie,../../../vendor/phpcompatibility/phpcompatibility-wp",
"\"vendor/bin/phpcs\" --config-set default_standard 'LifterLMS Core'"
],
"env": "\"vendor/bin/llms-env\"",
"env:setup": [
"vendor/bin/llms-env wp plugin activate lifterlms-lite-lms-progress-tracker"
],
"fix-cs": "\"vendor/bin/phpcbf\"",
"post-install-cmd": "@config-cs",
"post-update-cmd": "@config-cs",
"post-update-install-cmd": [
"@tests-install",
"@config-cs"
],
"tests-remove": "\"vendor/bin/llms-tests\" teardown ${TESTS_DB_NAME:-llms_groups_tests} ${TESTS_DB_USER:-root} \"${TESTS_DB_PASS-password}\" ${TESTS_DB_HOST:-127.0.0.1}",
"tests-install": [
"\"vendor/bin/llms-tests\" install ${TESTS_DB_NAME:-llms_groups_tests} ${TESTS_DB_USER:-root} \"${TESTS_DB_PASS-password}\" ${TESTS_DB_HOST:-127.0.0.1} ${WP_VERSION:-latest} false \"${WP_TESTS_VERSION}\"",
"@tests-install-plugins"
],
"tests-install-php8": [
"\"vendor/bin/llms-tests\" install ${TESTS_DB_NAME:-llms_groups_tests} ${TESTS_DB_USER:-root} \"${TESTS_DB_PASS-password}\" ${TESTS_DB_HOST:-127.0.0.1} ${WP_VERSION:-trunk} false trunk",
"@tests-install-plugins"
],
"tests-install-plugins": "\"vendor/bin/llms-tests\" plugin lifterlms",
"tests-reinstall": [
"@tests-remove",
"@tests-install"
],
"tests": "\"vendor/bin/phpunit\"",
"tests-run": "\"vendor/bin/phpunit\"",
"install-php8": "composer install --ignore-platform-reqs"
}
}