forked from GoogleChromeLabs/pwa-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
53 lines (53 loc) · 1.55 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
{
"name": "google/pwa-wp",
"description": "WordPress plugin for adding PWA support.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"homepage": "https://github.com/GoogleChromeLabs/pwa-wp",
"require": {
"php": "^5.6 || ^7.0 || ^8.0",
"ext-json": "*"
},
"require-dev": {
"automattic/vipwpcs": "^2.3",
"civicrm/composer-downloads-plugin": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "0.7.2",
"php-stubs/wordpress-stubs": "^6.3.0",
"phpcompatibility/phpcompatibility-wp": "2.1.4",
"wp-cli/wp-cli": "^2.8",
"wp-coding-standards/wpcs": "2.3.0",
"yoast/wp-test-utils": "^0.2.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"civicrm/composer-downloads-plugin": true
},
"platform": {
"php": "5.6"
},
"sort-packages": true
},
"extra": {
"downloads": {
"composer-normalize": {
"path": "vendor/bin/composer-normalize",
"type": "phar",
"url": "https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar"
},
"phpstan": {
"path": "vendor/bin/phpstan",
"type": "phar",
"url": "https://github.com/phpstan/phpstan/releases/latest/download/phpstan.phar"
}
}
},
"scripts": {
"analyze": "if [ -z $TEST_SKIP_PHPSTAN ]; then phpstan --version; phpstan analyze --ansi --memory-limit=1G; fi",
"pre-commit": [
"npm run lint:staged"
]
}
}