This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
/
composer.json
93 lines (93 loc) · 2.77 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "automattic/facebook-instant-articles-wp",
"description": "Add support for Instant Articles for Facebook to your WordPress site.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"facebook",
"instant articles",
"amp"
],
"authors": [
{
"name": "Automattic",
"homepage": "https://automattic.com/"
},
{
"name": "Dekode",
"homepage": "https://dekode.no/"
},
{
"name": "Facebook",
"homepage": "https://github.com/facebook"
}
],
"require": {
"php": ">=7.1",
"facebook/facebook-instant-articles-sdk-extensions-in-php": "dev-php8",
"facebook/facebook-instant-articles-sdk-php": "dev-php8",
"facebook/graph-sdk": "dev-php8",
"symfony/css-selector": "2.8.*"
},
"require-dev": {
"automattic/vipwpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^2.3.0",
"yoast/wp-test-utils": "^1"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/whyisjake/facebook-instant-articles-sdk-php"
},
{
"type": "vcs",
"url": "https://github.com/whyisjake/facebook-instant-articles-sdk-extensions-in-php"
},
{
"type": "vcs",
"url": "https://github.com/whyisjake/php-graph-sdk"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"cs": [
"@php ./vendor/bin/phpcs --severity=1"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-ci": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle"
],
"prepare-ci": [
"bash bin/install-wp-tests.sh wordpress_test root root localhost"
],
"test": [
"@php ./vendor/bin/phpunit --no-coverage --order-by=random -v"
],
"test-ms": [
"@putenv WP_MULTISITE=1",
"@composer test"
]
},
"scripts-descriptions": {
"cs": "Run PHPCS to checking coding standards for the Facebook Instant Articles plugin.",
"lint": "Run PHP linting on the Facebook Instant Articles plugin.",
"lint-ci": "Run PHP linting on the Facebook Instant Articles plugin with checkstyle output for CI.",
"prepare-ci": "Install the files and setup a database needed to run tests for the Facebook Instant Articles plugin for CI.",
"test": "Run the unit tests for the Facebook Instant Articles plugin.",
"test-ms": "Run the unit tests for the Facebook Instant Articles plugin on a multisite install."
}
}