-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcomposer.json
45 lines (45 loc) · 1014 Bytes
/
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
{
"name": "devkabir/your-plugin-name",
"description": "A simple oop structure in the singleton pattern for a WordPress plugin.",
"version": "1.0.0",
"type": "project",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Dev Kabir",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"php-stubs/woocommerce-stubs": "^9.3",
"php-stubs/wordpress-stubs": "^6.6",
"wp-coding-standards/wpcs": "^3.0"
},
"scripts": {
"lint": "phpcs src --standard=.phpcs.xml -s --report=source",
"format": "phpcbf src --standard=.phpcs.xml -s --report=source",
"post-create-project-cmd": [
"bash ./install.sh"
]
},
"autoload": {
"psr-4": {
"PluginPackage\\": "src/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform-check": true,
"optimize-autoloader": true,
"sort-packages": true,
"lock": false
},
"require": {
"php": "^7.4 || ^8.0",
"ext-json": "*"
}
}