-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
140 lines (140 loc) · 5.04 KB
/
Copy pathcomposer.json
File metadata and controls
140 lines (140 loc) · 5.04 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "starisian/sparxstar-starmus-audio",
"description": "Mobile-first, offline-friendly audio recorder for WordPress.",
"type": "wordpress-plugin",
"license": "proprietary",
"require": {
"php": "^8.2",
"james-heinrich/getid3": "^1.9",
"wpackagist-plugin/secure-custom-fields": "^6.8",
"aws/aws-sdk-php": "^3.369",
"psr/log": "^3.0",
"ext-simplexml": "*"
},
"autoload": {
"psr-4": {
"Starisian\\Sparxstar\\Starmus\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Starmus\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Starisian Technologies (Max Barrett)",
"email": "support@starisian.com",
"role": "Developer"
}
],
"homepage": "https://starisian.com",
"support": {
"issues": "https://github.com/Starisian-Technologies/sparxstar-starmus-audio/issues",
"source": "https://github.com/Starisian-Technologies/sparxstar-starmus-audio"
},
"keywords": [
"wordpress",
"audio",
"recorder",
"plugin",
"starmus",
"MediaRecorder",
"API",
"webm",
"opus"
],
"repositories": [
{
"type": "git",
"url": "https://github.com/Starisian-Technologies/sparxstar-starmus-audio.git"
},
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"minimum-stability": "stable",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpunit/phpunit": "^12.0",
"wp-coding-standards/wpcs": "^3.2",
"wp-cli/i18n-command": "^2",
"automattic/vipwpcs": "^3.0",
"phpcsstandards/phpcsutils": "^1.0",
"phpcsstandards/phpcsextra": "^1.2",
"phpcompatibility/phpcompatibility-paragonie": "^1.3",
"friendsofphp/php-cs-fixer": "^3.88",
"php-stubs/wordpress-stubs": "^6.9",
"phpstan/php-8-stubs": "^0.4",
"phpstan/phpstan": "^2.1",
"squizlabs/php_codesniffer": "^3.13",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"rector/rector": "^2.2",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml.dist",
"phpcbf": [
"@putenv COMPOSER_PROCESS_TIMEOUT=1200",
"vendor/bin/phpcbf --standard=phpcs.xml.dist"
],
"phpstan": "vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=2G",
"phpfix": [
"@putenv COMPOSER_PROCESS_TIMEOUT=1200",
"vendor/bin/php-cs-fixer fix --allow-risky=yes"
],
"phpfix:dry": "vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run --diff",
"rector": "vendor/bin/rector process",
"rector:dry": "vendor/bin/rector process --dry-run",
"unittest": "vendor/bin/phpunit --colors=always",
"makepot": [
"bash bin/makepot.sh"
],
"lint": "vendor/bin/phpcs --standard=phpcs.xml.dist --extensions=php --report=full",
"lint:fix": [
"@putenv COMPOSER_PROCESS_TIMEOUT=1200",
"vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php"
],
"lint:php": "vendor/bin/phpcs --standard=phpcs.xml.dist --extensions=php",
"analyze": "vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=2G",
"analyze:php": "vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=2G --no-progress",
"test:unit": "vendor/bin/phpunit --configuration=phpunit-unit.xml.dist --colors=always",
"test": "(composer run lint || echo 'PHPCS issues found') && (composer run analyze || echo 'PHPStan issues found') && (composer run test:unit || echo 'Unit tests need fixes')",
"fix": [
"@putenv COMPOSER_PROCESS_TIMEOUT=1200",
"composer run lint:fix",
"composer run phpfix"
],
"fix:all": [
"@putenv COMPOSER_PROCESS_TIMEOUT=1200",
"composer run rector",
"composer run phpfix",
"composer run lint:fix"
],
"docs": "php bin/generate-docs.php",
"docs:unified": "@php bin/generate-docs.php && bash bin/generate-unified-docs.sh",
"african-check": "php bin/african-runtime-check.php",
"vip-check": "composer run phpcs && composer run phpstan && composer run african-check"
},
"extra": {
"installer-paths": {
"vendor/{$name}/": [
"type:wordpress-plugin"
]
}
},
"config": {
"platform": {
"php": "8.3.0"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"composer/installers": true
}
}
}