-
Notifications
You must be signed in to change notification settings - Fork 9
/
composer.json
69 lines (69 loc) · 1.91 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
67
68
69
{
"name": "woocommerce/pinterest-for-woocommerce",
"description": "",
"homepage": "https://woocommerce.com/",
"type": "wordpress-plugin",
"keywords": [
"pinterest",
"woocommerce"
],
"license": "GPL-3.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/woocommerce/action-scheduler-job-framework"
},
{
"type": "vcs",
"url": "https://github.com/woocommerce/grow"
}
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"automattic/jetpack-autoloader": "^2.10.1",
"defuse/php-encryption": "^2.2",
"woocommerce/action-scheduler-job-framework": "^2.0.0",
"woocommerce/grow": "dev-compat-checker"
},
"require-dev": {
"composer/installers": "^1.7.0",
"woocommerce/woocommerce-sniffs": "1.0.0",
"sirbrillig/phpcs-changed": "^2.11.1",
"phpunit/phpunit": "^9.6",
"yoast/phpunit-polyfills": "^1.0",
"wp-cli/i18n-command": "^2.3"
},
"autoload": {
"psr-4": {
"Automattic\\WooCommerce\\Pinterest\\": "src/"
}
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"automattic/jetpack-autoloader": true
}
},
"scripts": {
"phpcs": "phpcs --extensions=php -s -p",
"lint": "chg=$(git diff --relative --name-only -- '*.php'); [[ -z $chg ]] || phpcs-changed -s --git --git-unstaged $chg",
"lint-staged": "chg=$(git diff HEAD --relative --name-only -- '*.php'); [[ -z $chg ]] || phpcs-changed -s --git $chg",
"lint-branch": "sh ./bin/lint-branch.sh",
"phpcbf": "phpcbf -p",
"test-unit": "./vendor/bin/phpunit"
},
"extra": {
"scripts-description": {
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
"test-unit": "Run PHP Unit tests"
}
}
}