forked from johnbillion/user-switching
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
94 lines (94 loc) · 2.54 KB
/
composer.json
File metadata and controls
94 lines (94 loc) · 2.54 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "johnbillion/user-switching",
"description": "Instant switching between user accounts in WordPress.",
"homepage": "https://github.com/johnbillion/user-switching",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "John Blackbourn",
"homepage": "https://johnblackbourn.com/"
}
],
"support": {
"issues": "https://github.com/johnbillion/user-switching/issues",
"forum": "https://wordpress.org/support/plugin/user-switching",
"source": "https://github.com/johnbillion/user-switching"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"wordpress-install-dir": "tests/wordpress"
},
"require": {
"php": ">=5.3",
"composer/installers": "^1 || ^2"
},
"require-dev": {
"codeception/module-cli": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"lucatume/wp-browser": "^3.0",
"phpcompatibility/php-compatibility": "^9",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"roots/wordpress-core-installer": "^1.0.0",
"roots/wordpress-full": "*",
"szepeviktor/phpstan-wordpress": "1.1.3",
"vlucas/phpdotenv": "^3",
"wp-cli/core-command": "^2",
"wp-cli/db-command": "^2",
"wp-cli/extension-command": "^2",
"wp-cli/language-command": "^2",
"wp-cli/rewrite-command": "^2",
"wp-coding-standards/wpcs": "^2"
},
"autoload-dev": {
"psr-4": {
"UserSwitching\\Tests\\": "tests/wpunit"
}
},
"scripts": {
"post-update-cmd": [
"@php -r \"! file_exists( 'tests/.env' ) && copy( 'tests/.env.dist', 'tests/.env' );\""
],
"test:phpcs": [
"phpcs -nps --colors --report-code --report-summary --report-width=80 --cache=tests/cache/phpcs.json ."
],
"test:phpstan": [
"phpstan analyze --memory-limit=1024M"
],
"test:integration": [
"codecept run integration --env singlesite --skip-group ms-required",
"codecept run integration --env multisite --skip-group ms-excluded"
],
"test:acceptance": [
"bin/test.sh"
],
"test:composer": [
"@composer validate --strict --no-check-lock"
],
"test": [
"@test:composer",
"@test:phpcs",
"@test:phpstan",
"@test:integration",
"@test:acceptance"
]
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/johnbillion"
}
]
}