-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
49 lines (49 loc) · 1.31 KB
/
composer.json
File metadata and controls
49 lines (49 loc) · 1.31 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
{
"name": "gasatrya/admin-only",
"description": "This plugin allows you to restrict access to the dashboard area, ensuring that only administrators have the privilege to manage and control your site's backend.",
"type": "project",
"license": "GPL-v2",
"authors": [
{
"name": "Gasatrya",
"email": "gasatrya.dev@gmail.com"
}
],
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.1",
"wp-coding-standards/wpcs": "3.2.0",
"squizlabs/php_codesniffer": "^3.13",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-cli/i18n-command": "^2.7"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"archive": {
"exclude": [
".gitignore",
".distignore",
".phpcs-cache",
"README.md",
"composer.json",
"composer.lock",
"LICENSE",
"vendor/",
".vscode/",
"CLAUDE.md",
"AGENTS.md",
".github/",
"phpcs.xml.dist"
]
},
"scripts": {
"zip": "composer archive --format=zip --file admin-only",
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"test": "php tests/run-tests.php",
"make-pot": "php vendor/wp-cli/wp-cli/php/boot-fs.php i18n make-pot . languages/admin-only.pot"
}
}