-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathcomposer.json
More file actions
84 lines (84 loc) · 2.96 KB
/
Copy pathcomposer.json
File metadata and controls
84 lines (84 loc) · 2.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
{
"name": "vrana/adminer",
"description": "Database management in a single PHP file.",
"homepage": "https://www.adminer.org/",
"keywords": [
"database"
],
"support": {
"issues": "https://github.com/vrana/adminer/issues",
"forum": "https://github.com/vrana/adminer/discussions",
"source": "https://github.com/vrana/adminer/"
},
"authors": [
{
"name": "Jakub Vrána",
"homepage": "https://www.vrana.cz/"
}
],
"autoload": {
"exclude-from-classmap": [
"adminer/drivers/",
"plugins/drivers/"
],
"classmap": [
"plugins/"
]
},
"license": [
"Apache-2.0",
"GPL-2.0-only"
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"ext-session": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "4.0.4",
"slevomat/coding-standard": "8.31.1",
"phpcompatibility/php-compatibility": "dev-develop#299a472",
"phpstan/phpstan": "2.2.8",
"phpstan/phpstan-strict-rules": "2.0.12"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"post-install-cmd": "@submodules",
"post-update-cmd": "@submodules",
"submodules": "@php -r \"passthru('git submodule update --init --recursive'); if (getenv('COMPOSER_DEV_MODE') !== '0') { passthru('npm install --no-save --prefix . eslint @eslint/js globals @playwright/test'); }\"",
"check": [
"phpcs --standard=conf/phpcs.xml",
"phpstan analyse -c conf/phpstan.neon",
"npx eslint -c conf/eslint.config.mjs"
],
"test": [
"@php tests/unit/compress.php",
"@php tests/unit/host_port.php",
"@php tests/unit/url.php"
],
"compat": [
"@php compile.php",
"@php compile.php editor",
"phpcs --standard=conf/phpcompat.xml"
],
"e2e": [
"Composer\\Config::disableProcessTimeout",
"npx playwright test --config conf/playwright.config.js"
],
"compile": "@php compile.php",
"clean": "@php -r \"array_map('unlink', array_merge(glob('adminer*.php'), glob('editor*.php'), glob('drivers/*.php'))); @rmdir('drivers');\""
},
"scripts-descriptions": {
"submodules": "Initializes the git submodules and installs the npm packages",
"check": "Checks the code by phpcs, phpstan and eslint",
"test": "Runs the unit tests in tests/unit/",
"compat": "Compiles the single files and checks them for APIs missing in the oldest supported PHP",
"e2e": "Runs the end-to-end tests by Playwright (see tests/README.md)",
"compile": "Compiles Adminer with all drivers and languages into adminer.php",
"clean": "Removes the compiled adminer*.php, editor*.php and drivers/"
}
}