-
Notifications
You must be signed in to change notification settings - Fork 14
/
composer.json
75 lines (75 loc) · 2.37 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
{
"name": "wp-graphql/wp-graphql-smart-cache",
"description": "Smart Caching and Cache Invalidation for WPGraphQL",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"autoload": {
"psr-4": {
"WPGraphQL\\SmartCache\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/_data/config.php"
],
"psr-4": {
"TestCase\\WPGraphQLSmartCache\\": "tests/_support/"
}
},
"require-dev": {
"wp-graphql/wp-graphql-testcase": "*",
"squizlabs/php_codesniffer": "^3.6",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "^2.3",
"lucatume/wp-browser": "^3.0",
"codeception/module-asserts": "^1.3.1",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-webdriver": "^1.2",
"codeception/module-db": "^1.1",
"codeception/module-filesystem": "^1.0",
"codeception/module-cli": "^1.1",
"codeception/util-universalframework": "^1.0",
"php-webdriver/webdriver": "^1.11",
"codeception/module-rest": "^1.3",
"phpunit/php-timer": "^5.0",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3",
"automattic/vipwpcs": "^2.3",
"phpstan/extension-installer": "^1.3",
"axepress/wp-graphql-stubs": "^1.14",
"wp-graphql/wp-graphql": "^1.14",
"appsero/client": "^1.2"
},
"scripts": {
"phpcs-i": [
"php ./vendor/bin/phpcs -i"
],
"check-cs": [
"php ./vendor/bin/phpcs"
],
"fix-cs": [
"php ./vendor/bin/phpcbf"
],
"phpstan": [
"phpstan analyze --ansi --memory-limit=1G"
],
"build-plugin": [
"composer install --no-dev --optimize-autoloader && composer run-script zip && composer install"
],
"zip": [
"mkdir -p plugin-build/wpgraphql-smart-cache",
"rsync -rc --exclude-from=.distignore --exclude=plugin-build . plugin-build/wpgraphql-smart-cache/ --delete --delete-excluded -v",
"cd plugin-build ; zip -r wpgraphql-smart-cache.zip wpgraphql-smart-cache",
"rm -rf plugin-build/wpgraphql-smart-cache/"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"require": {
"appsero/client": "^1.2"
}
}