generated from jrtashjian/pluginwp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
74 lines (74 loc) · 2.12 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
72
73
74
{
"name": "jrtashjian/omniform",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "JR Tashjian",
"homepage": "https://jrtashjian.com"
},
{
"name": "OmniForm",
"homepage": "https://omniform.io"
}
],
"autoload": {
"psr-4": {
"OmniForm\\": "includes"
},
"classmap": [
"vendor_prefixed/"
],
"files": [
"includes/Plugin/Support/Functions.php",
"vendor_prefixed/respect/stringifier/src/stringify.php"
]
},
"autoload-dev": {
"psr-4": {
"OmniForm\\Tests\\": "phpunit/includes"
}
},
"require": {
"dflydev/dot-access-data": "^3.0",
"league/container": "^4.2",
"respect/validation": "^2.2"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"johnpbloch/wordpress-core": "^6.6",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-cli/wp-cli-bundle": "^2.6",
"wp-coding-standards/wpcs": "^3.0",
"wp-phpunit/wp-phpunit": "^6.5",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"scripts": {
"lint": "phpcs --standard=phpcs.xml.dist",
"lint-prefixed": "phpcs --standard=phpcs-prefixed.xml.dist",
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
"test": "phpunit",
"build-release": [
"rm -r ./vendor",
"@composer dump-autoload",
"wp dist-archive ./",
"@composer install"
],
"phpscoper": [
"rm -rf ./vendor ./vendor_prefixed",
"@composer install --no-autoloader --no-dev --prefer-dist",
"php-scoper add-prefix --force",
"rm -rf ./vendor",
"@composer dump-autoload --optimize"
]
}
}