-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
84 lines (80 loc) · 2.4 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
{
"name": "lifterlms/lifterlms-blocks",
"description": "WordPress Editor (Gutenberg) blocks for LifterLMS.",
"type": "wordpress-plugin",
"license": "GPL-3.0",
"authors": [
{
"name": "Team LifterLMS",
"email": "[email protected]"
}
],
"require-dev": {
"lifterlms/lifterlms-cs": "dev-trunk",
"lifterlms/lifterlms-tests": "^4.3"
},
"minimum-stability": "dev",
"require": {
"php": ">=7.3"
},
"archive": {
"exclude": [
".*",
"*.json",
"*.lock",
"*.xml",
"*.xml.dist",
"*.yml",
"*.config.js",
"README.md",
"/src",
"dist",
"node_modules",
"tests",
"tmp",
"vendor",
"!/composer.json",
"!/i18n/*.json"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"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 default_standard 'LifterLMS Core'"
],
"env": "\"vendor/bin/llms-env\"",
"env:setup": [
"\"vendor/bin/llms-env\" wp plugin install lifterlms --activate",
"\"vendor/bin/llms-env\" wp plugin activate lifterlms-blocks",
"\"vendor/bin/llms-env\" wp user create instructortester [email protected] --role=instructor --first_name=Knox --last_name=Harrington"
],
"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_blocks_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_blocks_tests} ${TESTS_DB_USER:-root} \"${TESTS_DB_PASS-password}\" ${TESTS_DB_HOST:-127.0.0.1} ${WP_VERSION:-latest} false \"${WP_TESTS_VERSION-false}\"",
"@tests-install-plugins"
],
"tests-install-plugins": [
"\"vendor/bin/llms-tests\" plugin lifterlms",
"\"vendor/bin/llms-tests\" plugin classic-editor"
],
"tests-reinstall": [
"@tests-remove",
"@tests-install"
],
"tests": "\"vendor/bin/phpunit\"",
"tests-run": "\"vendor/bin/phpunit\""
}
}