-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcomposer.json
More file actions
70 lines (70 loc) · 1.78 KB
/
Copy pathcomposer.json
File metadata and controls
70 lines (70 loc) · 1.78 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
{
"name": "indieweb/wordpress-indieauth",
"description": "IndieAuth Endpoints and Authentication for WordPress",
"type": "wordpress-plugin",
"license": "MIT",
"authors": [
{
"name": "Matthias Pfefferle",
"homepage": "http://notiz.blog"
},
{
"name": "David Shanske",
"homepage": "https://david.shanske.com"
}
],
"require": {
"php": ">=7.4",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^8 || ^9",
"phpcompatibility/php-compatibility": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "^3.0",
"yoast/phpunit-polyfills": "^4.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"phpcsstandards/phpcsextra": "^1.1.0",
"mf2/mf2": "^0.5.0",
"wp-cli/wp-cli": "^2.11",
"wp-cli/i18n-command": "^2.6",
"wpreadme2markdown/wp2md": "^4.1",
"wp-cli/wp-cli-bundle": "^2.11"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-name": "indieauth"
},
"scripts": {
"post-install-cmd": [
"@copy-files"
],
"copy-files": [
"cp -u -r vendor/mf2/mf2/Mf2/Parser.php lib/mf2 || true",
"cp -u -r vendor/mf2/mf2/*.md lib/mf2 || true"
],
"test": [
"composer install",
"bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest true",
"vendor/bin/phpunit"
],
"test:wp-env": [
"wp-env run tests-cli --env-cwd=\"wp-content/plugins/indieauth\" vendor/bin/phpunit"
],
"lint": [
"vendor/bin/phpcs"
],
"lint:fix": [
"vendor/bin/phpcbf"
],
"make-pot": "./vendor/bin/wp i18n make-pot . languages/indieauth.pot",
"wp2md": "vendor/bin/wp2md -i readme.txt -o readme.md"
}
}