-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
40 lines (40 loc) · 1.21 KB
/
composer.json
File metadata and controls
40 lines (40 loc) · 1.21 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
{
"name": "your-vendor/custom-plugin",
"description": "Modern WordPress Admin Panel with custom functionality",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"CustomPlugin\\": "src/"
}
},
"authors": [
{
"name": "Your Name",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.4",
"monolog/monolog": "^2.0",
"vlucas/phpdotenv": "^5.3",
"symfony/cache": "^5.4",
"ramsey/uuid": "^4.2",
"twbs/bootstrap": "^5.3",
"components/jquery": "^3.6"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6",
"phpstan/phpstan": "^1.4"
},
"scripts": {
"post-install-cmd": [
"mkdir -p assets/vendor/bootstrap assets/vendor/jquery",
"cp -r vendor/twbs/bootstrap/dist/css/bootstrap.min.css assets/vendor/bootstrap/",
"cp -r vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js assets/vendor/bootstrap/",
"cp -r vendor/components/jquery/jquery.min.js assets/vendor/jquery/"
]
}
}