-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
composer.json
59 lines (59 loc) · 2.43 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
{
"name": "thingsym/multi-device-switcher",
"version": "1.8.5",
"description": "This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).",
"author": [
{
"name": "Thingsym",
"email": "",
"homepage": "https://github.com/thingsym/",
"role": "Developer"
}
],
"license": "GPLv2 or later",
"homepage": "https://wordpress.org/plugins/multi-device-switcher/",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/thingsym/multi-device-switcher"
}
],
"support": {
"forum": "https://wordpress.org/support/plugin/multi-device-switcher/",
"issues": "https://github.com/thingsym/multi-device-switcher/issues"
},
"require": {},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "2.*",
"phpmd/phpmd": "2.*",
"phpstan/phpstan": "*",
"phpunit/phpunit": "^8",
"phpcompatibility/phpcompatibility-wp": "*",
"yoast/phpunit-polyfills": "^1.1.0"
},
"prefer-stable" : true,
"scripts": {
"post-install-cmd": "@phpcs:config-set",
"post-update-cmd" : "@phpcs:config-set",
"phpcs:config-set": "phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcompatibility/php-compatibility,vendor/phpcompatibility/phpcompatibility-paragonie,vendor/phpcompatibility/phpcompatibility-wp",
"phpcs": "phpcs -p -s -v ./ --standard=./phpcs.ruleset.xml --extensions=php",
"phpcs:error": "phpcs -p -s -v -n ./ --standard=./phpcs.ruleset.xml --extensions=php",
"format:phpcbf": "phpcbf -p -s -v ./ --standard=./phpcs.ruleset.xml --extensions=php",
"phpmd": "phpmd ./ text ./phpmd.ruleset.xml --suffixes php --exclude /languages,/tests,/vendor,/node_modules",
"phpstan": "phpstan analyse",
"phpunit": "phpunit",
"coverage": "phpunit --coverage-html ./tests/report",
"ci": [
"@phpunit",
"@phpcs",
"@phpmd",
"@phpstan"
],
"bats": "bats tests/cli",
"makepot:wpcli": "wp i18n make-pot ./ ./languages/multi-device-switcher.pot --exclude=dist,bin,tests,node_modules,vendor",
"msgmerge:ja": "msgmerge --update --backup off ./languages/multi-device-switcher-ja.po ./languages/multi-device-switcher.pot",
"makemo:ja": "wp i18n make-mo languages/multi-device-switcher-ja.po languages/",
"msgfmt:ja": "msgfmt languages/multi-device-switcher-ja.po -o languages/multi-device-switcher-ja.mo"
}
}