-
Notifications
You must be signed in to change notification settings - Fork 28
/
composer.json
66 lines (66 loc) · 2.31 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
60
61
62
63
64
65
66
{
"name": "dshanske/indieweb-post-kinds",
"description": "Post Kinds for WordPress",
"type": "wordpress-plugin",
"license": "GPLv2 or later",
"authors": [
{
"name": "David Shanske",
"email": "[email protected]"
}
],
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-name": "indieweb-post-kinds",
"installer-paths": {
"vendor/{$name}": ["dshanske/parse-this"]
}
},
"require": {
"php": ">=5.6.0",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"squizlabs/php_codesniffer": "*",
"phpcompatibility/php-compatibility": "*",
"wp-coding-standards/wpcs": "*",
"dshanske/parse-this": "dev-trunk",
"phpcompatibility/phpcompatibility-wp": "*",
"php-parallel-lint/php-parallel-lint": "^1.2",
"wp-cli/i18n-command": "^2.3",
"sebastian/phpcpd": "^3.0 || ^5.0 || ^6.0",
"yoast/phpunit-polyfills": "^1.0",
"sirbrillig/phpcs-variable-analysis": "^2.11"
},
"scripts": {
"lint:phpcpd": "./vendor/bin/phpcpd --fuzzy --exclude .git --exclude vendor --exclude node_modules .",
"lint:wpcs": "./vendor/bin/phpcs -s --runtime-set ignore_warnings_on_exit 1",
"lint:wpcs-fix": "./vendor/bin/phpcbf",
"lint": "./vendor/bin/phpcs -n -q",
"phpunit": "./vendor/bin/phpunit",
"setup-local-tests": "bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest",
"make-pot": "./vendor/bin/wp i18n make-pot . languages/indieweb-post-kinds.pot",
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor --exclude node_modules .",
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"copy-files": [
"cp -u -r vendor/parse-this/*.php lib/parse-this",
"cp -u -r vendor/parse-this/readme.* lib/parse-this",
"cp -u -r vendor/parse-this/includes/*.php lib/parse-this/includes",
"cp -u -r vendor/parse-this/lib/mf2/*.* lib/parse-this/lib/mf2",
"cp -u -r vendor/parse-this/lib/html5 lib/parse-this/lib"
]
},
"post-update-cmd": [
"@copy-files"
],
"minimum-stability": "dev",
"prefer-stable": true
}