-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
39 lines (36 loc) · 1.36 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
{
"name": "oceanwp/ocean-social-sharing",
"type": "wordpress-plugin",
"description": "An addon plugin for OceanWP theme.",
"keywords": [
"WordPress",
"Plugins"
],
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"wptrt/wpthemereview": "^0.2.1",
"wp-coding-standards/wpcs": "^2.2",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"php-parallel-lint/php-parallel-lint": "^1.2.0",
"wp-cli/i18n-command": "^2.2.5"
},
"extra": {
"phpcodesniffer-search-depth": 5
},
"scripts": {
"lint:php": [
"phpcs -p .",
"parallel-lint --exclude .git --exclude vendor --exclude node_modules .",
"phpcs -p . --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 5.6- --ignore=*/vendor/,*/node_modules/"
],
"lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"lint:summary": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor --exclude node_modules .",
"make-pot": "wp i18n make-pot . languages/ocean-social-sharing.pot --exclude=build"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}