-
Notifications
You must be signed in to change notification settings - Fork 140
/
composer.json
62 lines (62 loc) · 1.72 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
{
"name": "facebookincubator/facebook-for-woocommerce",
"description": "Grow your business with Facebook for WooCommerce! This plugin will install a Facebook Pixel and optionally create a shop on your Facebook page.",
"type": "wordpress-plugin",
"license": "GPL-2.0+",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/woocommerce/action-scheduler-job-framework"
},
{
"type": "vcs",
"url": "https://github.com/woocommerce/grow"
}
],
"require": {
"php": ">=7.4",
"woocommerce/action-scheduler-job-framework": "2.0.0",
"composer/installers": "~1.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": "^2.0",
"wp-cli/i18n-command": "^2.2"
},
"autoload": {
"psr-4": {
"WooCommerce\\Facebook\\": "includes"
}
},
"autoload-dev": {
"psr-4": {
"WooCommerce\\Facebook\\Tests\\": "tests/Unit"
}
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": false
}
},
"archive": {
"exclude": [
"!/assets/*",
"!/vendor/*",
"!/i18n/*"
]
},
"scripts": {
"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",
"test-unit": "./vendor/bin/phpunit"
}
}