-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
33 lines (33 loc) · 943 Bytes
/
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
{
"name": "antpb/three-object-viewer",
"description": "threeObjectViewer",
"require": {
"php": "^7.2|^8.0",
"wp-cli/i18n-command": "^2.4"
},
"type": "wordpress-plugin",
"autoload": {
"psr-4": {
"threeObjectViewer\\": "./php"
}
},
"autoload-dev": {
"psr-4": {
"threeObjectViewer\\Tests\\": "./tests"
}
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"yoast/phpunit-polyfills": "^1.0.1",
"mockery/mockery": "1.2",
"brain/monkey": "2.*",
"squizlabs/php_codesniffer": "^3.6"
},
"scripts": {
"test": "composer test:unit && composer test:wordpress",
"test:unit": "phpunit --config=phpunit-unit.xml",
"test:wordpress": "phpunit --config=phpunit-integration.xml",
"sniffs": "phpcs php/ && phpcs tests/",
"fixes": "phpcbf php/ && phpcbf tests/"
}
}