-
Notifications
You must be signed in to change notification settings - Fork 153
/
composer.json
49 lines (49 loc) · 1.61 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
{
"name": "wordpress/two-factor",
"type": "wordpress-plugin",
"description": "Two-Factor Authentication for WordPress.",
"license": "GPL-2.0-or-later",
"homepage": "https://wordpress.org/plugins/two-factor/",
"support": {
"source": "https://github.com/WordPress/two-factor",
"forum": "https://wordpress.org/support/plugin/two-factor/",
"issues": "https://github.com/WordPress/two-factor/issues"
},
"config": {
"sort-packages": true,
"platform": {
"php": "7.2.24"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable" : true,
"require": {
"php": ">=7.2.24|^8"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"php-coveralls/php-coveralls": "^2.5",
"phpcompatibility/php-compatibility": "10.x-dev as 9.99.99",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^8.5|^9.6",
"spatie/phpunit-watcher": "^1.23",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "^3.1",
"yoast/phpunit-polyfills": "^2.0"
},
"scripts": {
"lint": "phpcs",
"lint-compat": "phpcs -p --standard=PHPCompatibilityWP --runtime-set testVersion 7.2- --extensions=php --ignore='tests/,dist/,includes/Yubico/,vendor/,node_modules/' .",
"lint-phpstan": "phpstan analyse --verbose --memory-limit=1G",
"test": "vendor/bin/phpunit",
"test:watch": [
"Composer\\Config::disableProcessTimeout",
"phpunit-watcher watch --no-coverage"
],
"format": "phpcbf"
}
}