-
Notifications
You must be signed in to change notification settings - Fork 312
/
composer.json
196 lines (196 loc) · 8.72 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
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "passbolt/passbolt_api",
"description": "Open source password manager for teams",
"homepage": "https://www.passbolt.com",
"type": "application",
"license": "AGPL-3.0-or-later",
"keywords": [
"password",
"passbolt"
],
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"cakephp/plugin-installer": true
},
"audit": {
"abandoned": "report"
}
},
"authors": [
{
"name": "Passbolt Team",
"homepage": "https://www.passbolt.com/credits"
}
],
"support": {
"bugs": "https://github.com/passbolt/passbolt/issues",
"help": "https://www.passbolt.com/help",
"source": "https://github.com/passbolt/passbolt"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/passbolt/passbolt-selenium-api",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/passbolt/passbolt-test-data",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/passbolt/migrations.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/passbolt/phinx.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/bcrowe/cakephp-api-pagination.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/passbolt/cakephp-email-queue.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/passbolt/openpgp-php.git",
"no-api": true
}
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"ext-posix": "*",
"ext-intl": "*",
"ext-mbstring": "*",
"ext-gnupg": "*",
"ext-openssl": "*",
"ext-pdo": "*",
"ext-curl": "*",
"composer/composer": "^2.7.7",
"cakephp/cakephp": "^4.5",
"cakephp/chronos": "2.4.*",
"longwave/laminas-diactoros": "^2.14.1",
"cakephp/migrations": "dev-master#cab2143c0b477eae213b472cdb5a3faa1ea1d0ff",
"robmorgan/phinx": "0.x-dev#a409b03e1e3e5f8f60d0d3179704abc9bc80e817",
"cakephp/plugin-installer": "^1.3.1",
"mobiledetect/mobiledetectlib": "^2.8.39",
"ramsey/uuid": "^4.2.3",
"singpolyma/openpgp-php": "dev-feature/PB-26152_API-should-identify-openpgpjs-v510-revoked-key-as-revoked#92b56f36f15cb98c22e7b580ab97f9a4076850b2",
"donatj/phpuseragentparser": "^1.8.0",
"lorenzo/cakephp-email-queue": "dev-master#ed3e3e0c66999a5d0ce31f311ad89cbbd95f16d5",
"imagine/imagine": "^1.3.2",
"league/flysystem": "^2.4.5",
"cakephp/authentication": "^2.10.0",
"bcrowe/cakephp-api-pagination": "^3.0.1",
"firebase/php-jwt": "^6.2.0",
"spomky-labs/otphp": "^10.0.0",
"bacon/bacon-qr-code": "^2.0.7",
"enygma/yubikey": "^3.8",
"duosecurity/duo_universal_php": "^1.0.2"
},
"require-dev": {
"phpstan/phpstan": "~1.10.0",
"psy/psysh": "@stable",
"cakephp/debug_kit": "^4.9.0",
"cakephp/bake": "^2.3.0",
"phpunit/phpunit": "~9.5.2",
"cakephp/cakephp-codesniffer": "^4.5",
"passbolt/passbolt-selenium-api": "^4.5",
"passbolt/passbolt-test-data": "^4.8",
"vierge-noire/cakephp-fixture-factories": "^v2.9.3",
"cakephp/localized": "4.0.0",
"vimeo/psalm": "^5.0.0",
"cakedc/cakephp-phpstan": "^2.0",
"johnkary/phpunit-speedtrap": "^4.0"
},
"autoload": {
"psr-4": {
"App\\": "src",
"Passbolt\\AccountSettings\\": "./plugins/PassboltCe/AccountSettings/src",
"Passbolt\\InFormIntegration\\": "./plugins/PassboltCe/InFormIntegration/src",
"Passbolt\\Locale\\": "./plugins/PassboltCe/Locale/src",
"Passbolt\\PasswordGenerator\\": "./plugins/PassboltCe/PasswordGenerator/src",
"Passbolt\\RememberMe\\": "./plugins/PassboltCe/RememberMe/src",
"Passbolt\\WebInstaller\\": "./plugins/PassboltCe/WebInstaller/src",
"Passbolt\\Log\\": "./plugins/PassboltCe/Log/src",
"Passbolt\\EmailNotificationSettings\\": "./plugins/PassboltCe/EmailNotificationSettings/src",
"Passbolt\\EmailDigest\\": "./plugins/PassboltCe/EmailDigest/src",
"Passbolt\\Reports\\": "./plugins/PassboltCe/Reports/src",
"Passbolt\\Folders\\": "./plugins/PassboltCe/Folders/src",
"Passbolt\\Mobile\\": "./plugins/PassboltCe/Mobile/src",
"Passbolt\\JwtAuthentication\\": "./plugins/PassboltCe/JwtAuthentication/src",
"Passbolt\\Import\\": "./plugins/PassboltCe/Import/src",
"Passbolt\\Export\\": "./plugins/PassboltCe/Export/src",
"Passbolt\\PasswordExpiry\\": "./plugins/PassboltCe/PasswordExpiry/src",
"Passbolt\\ResourceTypes\\": "./plugins/PassboltCe/ResourceTypes/src",
"Passbolt\\SmtpSettings\\": "./plugins/PassboltCe/SmtpSettings/src",
"Passbolt\\MultiFactorAuthentication\\": "./plugins/PassboltCe/MultiFactorAuthentication/src",
"Passbolt\\SelfRegistration\\": "./plugins/PassboltCe/SelfRegistration/src",
"Passbolt\\TotpResourceTypes\\": "./plugins/PassboltCe/TotpResourceTypes/src",
"Passbolt\\Rbacs\\": "./plugins/PassboltCe/Rbacs/src",
"Passbolt\\PasswordPolicies\\": "./plugins/PassboltCe/PasswordPolicies/src"
}
},
"autoload-dev": {
"psr-4": {
"App\\Test\\": "tests",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests",
"Passbolt\\AccountSettings\\Test\\": "./plugins/PassboltCe/AccountSettings/tests",
"Passbolt\\Locale\\Test\\": "./plugins/PassboltCe/Locale/tests",
"Passbolt\\PasswordGenerator\\Test\\": "./plugins/PassboltCe/PasswordGenerator/tests",
"Passbolt\\WebInstaller\\Test\\": "./plugins/PassboltCe/WebInstaller/tests",
"Passbolt\\Log\\Test\\": "./plugins/PassboltCe/Log/tests",
"Passbolt\\EmailNotificationSettings\\Test\\": "./plugins/PassboltCe/EmailNotificationSettings/tests",
"Passbolt\\EmailDigest\\Test\\": "./plugins/PassboltCe/EmailDigest/tests",
"Passbolt\\Reports\\Test\\": "./plugins/PassboltCe/Reports/tests",
"Passbolt\\Folders\\Test\\": "./plugins/PassboltCe/Folders/tests",
"Passbolt\\Mobile\\Test\\": "./plugins/PassboltCe/Mobile/tests",
"Passbolt\\JwtAuthentication\\Test\\": "./plugins/PassboltCe/JwtAuthentication/tests",
"Passbolt\\MultiFactorAuthentication\\Test\\": "./plugins/PassboltCe/MultiFactorAuthentication/tests",
"Passbolt\\PasswordExpiry\\Test\\": "./plugins/PassboltCe/PasswordExpiry/tests",
"Passbolt\\SmtpSettings\\Test\\": "./plugins/PassboltCe/SmtpSettings/tests",
"Passbolt\\SelfRegistration\\Test\\": "./plugins/PassboltCe/SelfRegistration/tests",
"Passbolt\\ResourceTypes\\Test\\": "./plugins/PassboltCe/ResourceTypes/tests",
"Passbolt\\TotpResourceTypes\\Test\\": "./plugins/PassboltCe/TotpResourceTypes/tests",
"Passbolt\\Rbacs\\Test\\": "./plugins/PassboltCe/Rbacs/tests",
"Passbolt\\PasswordPolicies\\Test\\": "./plugins/PassboltCe/PasswordPolicies/tests"
}
},
"scripts": {
"post-install-cmd": "App\\Console\\Installer::postInstall",
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
"check": [
"@test",
"@cs-check"
],
"cs-check": "phpcs -d memory_limit=512M --colors -p --ignore=*.js,*/templates/* ./src ./tests ./plugins",
"cs-fix": "phpcbf -d memory_limit=512M --colors --ignore=*.js,*/templates/* ./src ./tests ./plugins",
"install-dev": [
"@composer install",
"npm install",
"./node_modules/.bin/grunt appjs-update",
"./node_modules/.bin/grunt styleguide-update"
],
"stan": "phpstan analyse --memory-limit=-1",
"psalm": "psalm",
"test": "phpunit --colors=always",
"i18n:externalize": [
"./bin/cake i18n extract --app ./ --paths src,plugins,templates --output resources/locales/en_UK --exclude /tests,/vendors,/src/Command --overwrite --extract-core no --no-location --merge yes",
"find resources/locales/en_UK -name '*.pot' -exec sh -c 'mv \"$1\" \"${1%.pot}.po\"' _ {} \\;"
]
},
"prefer-stable": true
}