/
composer.json
43 lines (42 loc) · 1.62 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
{
"name": "kathyisawesome/wc-mnm-quickview",
"description": "Add modal lightbox support for child items.",
"homepage": "https://github.com/kathyisawesome/wc-mnm-quickview",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"require-dev": {
"woocommerce/woocommerce-sniffs": "0.1.3",
"wp-cli/i18n-command": "^2.4"
},
"scripts": {
"makepot-audit": [
"wp --allow-root i18n make-pot . languages/wc-mnm-quickview.pot --slug=wc-mnm-quickview --exclude=\".github,.wordpress-org,node_modules,vendor,build,deploy\" --headers=\"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/tickets/\n\""
],
"makepot": [
"@makepot-audit --skip-audit"
],
"phpcs": [
"phpcs . -s -p -n --sniffs=PEAR.Functions.FunctionCallSignature"
],
"phpcs-pre-commit": [
"phpcs . -s -p -n"
],
"phpcb": [
"phpcbf . --sniffs=PEAR.Functions.FunctionCallSignature"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"scripts-description": {
"makepot-audit": "Make a .pot file with audit to find possible mistakes in translatable strings",
"makepot": "Make a .pot file without checking for mistakes",
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcb": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
}
}
}