-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
44 lines (44 loc) · 1.98 KB
/
composer.json
File metadata and controls
44 lines (44 loc) · 1.98 KB
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
{
"name": "lightspeedwp/tour-operator",
"description": "The Tour Operators Plugin provides 3 post types (Accommodations, Destinations and Tours) that are the core of any Tour Operator. Use them to build day-by-day itineraries for tours.",
"type": "wordpress-plugin",
"require": {
"php": ">=8.0",
"composer/installers": "^2.3"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"10up/phpcs-composer": "^3.0",
"yoast/phpunit-polyfills": "^2.0"
},
"scripts": {
"phpcs": "vendor/bin/phpcs -d memory_limit=1G tour-operator.php includes templates post-types src",
"phpcbf": "vendor/bin/phpcbf -d memory_limit=1G tour-operator.php includes templates post-types src",
"phpcs:report": "vendor/bin/phpcs -d memory_limit=1G tour-operator.php includes templates post-types src --report=json --report-file=phpcs-report.json",
"lint": [
"@phpcs"
],
"phpcs:baseline": "vendor/bin/phpcs -d memory_limit=1G tour-operator.php includes templates post-types src --report=checkstyle --report-file=phpcs-baseline.xml || true",
"test": "vendor/bin/phpunit --no-configuration tests/php/TestSimpleFunctions.php",
"test:simple": "vendor/bin/phpunit --no-configuration tests/php/TestSimpleFunctions.php",
"test:wp": "./bin/run-wp-tests.sh",
"test:coverage": "vendor/bin/phpunit --no-configuration --coverage-html tests/coverage tests/php/TestSimpleFunctions.php",
"test:unit": "vendor/bin/phpunit -c phpunit.xml --testsuite='Tour Operator Plugin Test Suite'"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"license": "GPL-3.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"composer/installers": true,
"10up/phpcs-composer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}