-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
111 lines (111 loc) · 3.42 KB
/
Copy pathcomposer.json
File metadata and controls
111 lines (111 loc) · 3.42 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "linchpin/psst",
"description": "Pretty Secure Secret Transmissions. Share one-time, expiring secrets that are encrypted in the browser.",
"homepage": "https://github.com/linchpin/psst",
"minimum-stability": "stable",
"prefer-stable": true,
"authors": [
{
"name": "Aaron Ware",
"email": "aaron@linchpin.com",
"role": "Developer"
},
{
"name": "Linchpin",
"email": "sayhi@linchpin.com",
"homepage": "https://linchpin.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/linchpin/psst/issues",
"source": "https://github.com/linchpin/psst"
},
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"require": {
"php": ">=8.3",
"composer/installers": "^2.0",
"woocommerce/action-scheduler": "^4.1"
},
"require-dev": {
"linchpin/coding-standards": "^1.3.1",
"php-parallel-lint/php-parallel-lint": "^1.4",
"php-parallel-lint/php-console-highlighter": "^1.0",
"friendsofphp/php-cs-fixer": "^3.75",
"phpunit/phpunit": "^12.0",
"phpstan/phpstan": "^2.1",
"szepeviktor/phpstan-wordpress": "^2.0"
},
"autoload": {
"psr-4": {
"Linchpin\\Psst\\": "includes/"
},
"files": [
"vendor/woocommerce/action-scheduler/action-scheduler.php"
]
},
"autoload-dev": {
"psr-4": {
"Linchpin\\Psst\\Tests\\": "tests/"
}
},
"extra": {
"installer-paths": {
"vendor/woocommerce/action-scheduler/": [
"woocommerce/action-scheduler"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://packagist.linchpin.com"
}
],
"scripts": {
"php-lint": "parallel-lint --exclude vendor --exclude node_modules --exclude blocks/node_modules --exclude build --exclude blocks/build .",
"phpcs": "phpcs --standard=phpcs.xml.dist",
"phpcbf": "phpcbf --standard=phpcs.xml.dist",
"phpstan": "phpstan analyse --memory-limit=2G",
"check-branch-cs": "Linchpin\\Composer\\Actions::check_branch_cs",
"check-staged-cs": "Linchpin\\Composer\\Actions::check_staged_cs",
"fixer": "php-cs-fixer -v fix --allow-risky=yes",
"fixer:test": "php-cs-fixer fix -v --dry-run --stop-on-violation --using-cache=no --allow-risky=yes",
"phpunit": "phpunit",
"lint": [
"@php-lint",
"@phpcs",
"@fixer:test",
"@phpstan"
],
"test": [
"@lint",
"@phpunit"
],
"build": "bash scripts/build.sh"
},
"scripts-descriptions": {
"php-lint": "Syntax lint only (parallel-lint).",
"phpcs": "Coding standards against phpcs.xml.dist, whole tree.",
"phpcbf": "Auto-fix what phpcs can.",
"phpstan": "Static analysis at the level in phpstan.neon.",
"check-branch-cs": "PHPCS over only the lines this branch changed. What linchpin/actions' php-checks.yml runs.",
"check-staged-cs": "The same line-scoped check against what a commit is about to introduce. What the husky pre-commit hook runs.",
"fixer": "php-cs-fixer, applying fixes.",
"fixer:test": "php-cs-fixer in dry-run mode.",
"phpunit": "Unit suite: no WordPress, no database.",
"lint": "Every static gate.",
"test": "Every static gate, then the unit suite.",
"build": "Build the distributable zip into build/psst.zip."
},
"config": {
"platform": {
"php": "8.3.0"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
}
}