-
Notifications
You must be signed in to change notification settings - Fork 25
/
composer.json
71 lines (71 loc) · 1.74 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
{
"name": "wppunk/wpplugin",
"description": "Plugin description",
"license": "MIT",
"authors": [
{
"name": "WPPunk",
"email": "[email protected]"
}
],
"config": {
"platform": {
"php": "7.2.5"
}
},
"require": {
"rdlowrey/auryn": "^1.4"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4",
"brain/monkey": "^2.6",
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.3",
"codeception/module-db": "^1.1",
"codeception/module-webdriver": "^1.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"lucatume/wp-browser": "^3.0",
"phpcompatibility/php-compatibility": "^9.3",
"wp-coding-standards/wpcs": "^2.3"
},
"autoload": {
"psr-4": {
"PluginName\\": "src/"
},
"classmap": [
"vendor_prefixed/"
]
},
"extra": {
"phpcodesniffer-search-depth": 1
},
"scripts": {
"acceptance": "codecept run acceptance -c .codeception.yml",
"unit": "codecept run unit -c .codeception.yml",
"cs": "phpcs --standard=.phpcs.xml .",
"scoper": [
"composer bin php-scoper config minimum-stability dev",
"composer bin php-scoper config prefer-stable true",
"composer bin php-scoper require --dev humbug/php-scoper",
"php-scoper add-prefix --config .scoper.inc.php --output-dir vendor_prefixed/",
"rm -rf vendor-bin/",
"composer dumpautoload"
],
"build": [
"composer require rdlowrey/auryn",
"composer scoper -n",
"composer remove rdlowrey/auryn",
"composer dumpautoload"
],
"init-project": [
"composer require wppunk/wpplugin-replace --dev",
"@php vendor/wppunk/wpplugin-replace/wpplugin-replace.php",
"composer remove wppunk/wpplugin-replace --dev",
"composer build",
"npm install"
],
"post-create-project-cmd": [
"composer init-project"
]
}
}