-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
77 lines (74 loc) · 2.3 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
{
"name": "lifterlms/lifterlms-rest",
"description": "REST API feature plugin for the LifterLMS Core.",
"type": "wordpress-plugin",
"license": "GPL-3.0",
"authors": [
{
"name": "Team LifterLMS",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=7.3"
},
"require-dev": {
"lifterlms/lifterlms-tests": "^4.1.1",
"lifterlms/lifterlms-cs": "dev-trunk"
},
"archive": {
"exclude": [
".*",
"*.lock",
"*.xml",
"*.xml.dist",
"CHANGELOG.md",
"package.json",
"package-lock.json",
"README.md",
"dist",
"docs",
"node_modules",
"spec",
"tests",
"tmp",
"web",
"web_deploy",
"wordpress",
"vendor"
]
},
"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'"
],
"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_rest_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_rest_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-plugins": "\"vendor/bin/llms-tests\" plugin lifterlms",
"tests-reinstall": [
"@tests-remove",
"@tests-install"
],
"tests": "\"vendor/bin/phpunit\"",
"tests-run": "\"vendor/bin/phpunit\""
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}