-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
32 lines (32 loc) · 908 Bytes
/
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
{
"name": "helgatheviking/add-to-cart-form-shortcode",
"description": "Add [add_to_cart_form] shortcode that display a single WooCommerce product's add to cart form.",
"homepage": "https://github.com/helgatheviking/add-to-cart-form-shortcode/",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"require-dev": {
"woocommerce/woocommerce-sniffs": "0.1.3"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"phpcs": [
"phpcs . -s -p -n"
],
"phpcs-pre-commit": [
"phpcs . -s -p -n"
],
"phpcb": [
"phpcbf . "
]
},
"extra": {
"scripts-description": {
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcb": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
}
}
}