-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
60 lines (60 loc) · 1.75 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
{
"name": "shoplic-kr/continy",
"description": "Tiny container for WP plugins and themes.",
"homepage": "https://github.com/shoplic-kr/continy",
"type": "library",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"ShoplicKr\\Continy\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ShoplicKr\\Continy\\Tests\\": "tests/",
"ShoplicKr\\Continy\\Tests\\DummyPlugin\\": "tests/DummyPlugin/src/"
}
},
"authors": [
{
"name": "changwoo",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"psr/container": "^2.0",
"shoplic-kr/interface": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9",
"yoast/phpunit-polyfills": "^3.0",
"shoplic-kr/wp-tests": "^1.0"
},
"scripts": {
"wp-tests": [
"@wp-tests:setenv",
"vendor/bin/phpunit"
],
"wp-tests:clean": [
"@wp-tests:setenv",
"rm -rf $WP_CORE_DIR $WP_TESTS_DIR"
],
"wp-tests:setenv": [
"@putenv WP_CORE_DIR=./tests/wp-test-core",
"@putenv WP_TESTS_DIR=./tests/wp-test-lib",
"@putenv WP_TESTS_PHPUNIT_POLYFILLS_PATH=./vendor/yoast/phpunit-polyfills",
"@putenv DB_HOST=localhost",
"@putenv DB_USER=wordpress_tests",
"@putenv DB_PASS=wordpress_tests",
"@putenv DB_NAME=wordpress_tests"
],
"wp-tests:setup": [
"@wp-tests:setenv",
"@wp-tests:clean",
"bin/install-wp-tests.sh $DB_NAME $DB_USER $DB_PASS $DB_HOST latest"
]
},
"minimum-stability": "beta",
"version": "0.2.1"
}