forked from ampproject/amp-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
106 lines (106 loc) · 2.85 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
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "ampproject/amp-wp",
"type": "wordpress-plugin",
"description": "WordPress plugin for adding AMP support.",
"homepage": "https://github.com/ampproject/amp-wp",
"license": "GPL-2.0-or-later",
"require": {
"php": "^5.6 || ^7.0",
"ext-curl": "*",
"ext-date": "*",
"ext-dom": "*",
"ext-iconv": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-spl": "*",
"ampproject/common": "^1",
"ampproject/optimizer": "^1",
"cweagans/composer-patches": "1.6.7",
"fasterimage/fasterimage": "1.5.0",
"sabberworm/php-css-parser": "dev-master#bc6ec74"
},
"require-dev": {
"civicrm/composer-downloads-plugin": "^2.1",
"dealerdirect/phpcodesniffer-composer-installer": "0.6.2",
"mikey179/vfsstream": "1.6.8",
"php-stubs/wordpress-stubs": "^5.3.2",
"phpcompatibility/phpcompatibility-wp": "2.1.0",
"roave/security-advisories": "dev-master",
"sirbrillig/phpcs-variable-analysis": "2.8.1",
"wp-coding-standards/wpcs": "2.2.1",
"xwp/wp-dev-lib": "1.5.0"
},
"suggest": {
"ext-intl": "Enables use of idn_to_utf8() to convert punycode domains to UTF-8 for use with an AMP Cache.",
"ext-mbstring": "Used by PHP-CSS-Parser when working with stylesheets."
},
"config": {
"platform": {
"php": "5.6"
},
"sort-packages": true
},
"extra": {
"downloads": {
"phpstan": {
"url": "https://github.com/phpstan/phpstan/releases/download/0.12.14/phpstan.phar",
"path": "vendor/bin/phpstan",
"type": "phar"
}
},
"patches": {
"sabberworm/php-css-parser": {
"Validate name-start code points for identifier <https://github.com/sabberworm/PHP-CSS-Parser/pull/185>": "patches/php-css-parser-pull-185.patch",
"Fix parsing CSS selectors which contain commas <https://github.com/westonruter/PHP-CSS-Parser/pull/1>": "patches/php-css-parser-commit-10a2501.patch"
}
}
},
"autoload": {
"psr-4": {
"AmpProject\\AmpWP\\": "src/"
},
"classmap": [
"includes/"
],
"files": [
"back-compat/back-compat.php",
"includes/amp-helper-functions.php",
"includes/admin/functions.php",
"includes/deprecated.php"
]
},
"autoload-dev": {
"psr-4": {
"AmpProject\\AmpWP\\Tests\\": "tests/php/src/"
},
"classmap": [
"tests/php/validation/"
]
},
"repositories": [
{
"type": "path",
"url": "lib/common",
"options": {
"symlink": true
}
},
{
"type": "path",
"url": "lib/optimizer",
"options": {
"symlink": true
}
},
{
"type": "vcs",
"url": "https://github.com/sabberworm/PHP-CSS-Parser.git",
"no-api": true
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"analyze": "if [ -z $TEST_SKIP_PHPSTAN ]; then phpstan analyze --ansi; fi"
}
}