-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcomposer.json
More file actions
85 lines (85 loc) · 1.96 KB
/
composer.json
File metadata and controls
85 lines (85 loc) · 1.96 KB
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
{
"name": "rtcamp/snapwp-helper",
"description": "WordPress helper plugin used to power SnapWP's headless WordPress framework.",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "rtCamp",
"email": "contact@rtcamp.com",
"homepage": "https://rtcamp.com/"
},
{
"name": "David Levine",
"role": "Developer",
"email": "david.levine@rtcamp.com"
}
],
"require": {
"php": ">=7.4",
"yahnis-elsts/plugin-update-checker": "^5.4"
},
"require-dev": {
"axepress/wp-graphql-cs": "^2.0.0",
"axepress/wp-graphql-stubs": "^2.0.0",
"codeception/codeception": "^4.2",
"codeception/module-asserts": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/util-universalframework": "^1.0",
"lucatume/wp-browser": "^3.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^2.0.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"szepeviktor/phpstan-wordpress": "^2.0.0",
"wp-cli/wp-cli-bundle": "^2.12.0",
"wp-graphql/wp-graphql-testcase": "^3.3"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
},
"preferred-install": "dist",
"process-timeout": 0,
"sort-packages": true,
"optimize-autoloader": true
},
"autoload": {
"files": [
"access-functions.php"
],
"psr-4": {
"SnapWP\\Helper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"SnapWP\\Helper\\Tests\\Helper\\": "tests/_support/Helper/",
"SnapWP\\Helper\\Tests\\TestCase\\": "tests/_support/TestCase/"
}
},
"scripts": {
"phpcs-i": [
"php ./vendor/bin/phpcs -i"
],
"phpcs": [
"php ./vendor/bin/phpcs"
],
"phpcs:fix": [
"php ./vendor/bin/phpcbf"
],
"phpstan": [
"vendor/bin/phpstan analyze --ansi --memory-limit=2G"
],
"post-install-cmd": [
"npm ci --no-progress --no-audit --silent --no-fund",
"npm run build:js"
],
"post-update-cmd": [
"@post-install-cmd"
]
}
}