-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcomposer.json
65 lines (65 loc) · 1.86 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
{
"name": "wcpos/woocommerce-pos",
"description": "A simple front-end for taking WooCommerce orders at the Point of Sale.",
"type": "wordpress-plugin",
"license": "GPL-3.0+",
"authors": [
{
"name": "kilbot",
"email": "[email protected]"
}
],
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "v1.0.0",
"friendsofphp/php-cs-fixer": "v3.35.1",
"php-stubs/woocommerce-stubs": "v8.2.0",
"phpcompatibility/phpcompatibility-wp": "2.1.4",
"sirbrillig/phpcs-variable-analysis": "v2.11.17",
"squizlabs/php_codesniffer": "3.7.2",
"woocommerce/woocommerce-sniffs": "1.0.0",
"wp-coding-standards/wpcs": "3.0.1",
"wp-phpunit/wp-phpunit": "6.3.1",
"yoast/phpunit-polyfills": "2.0.0"
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"erusev/parsedown": "^1.7",
"ramsey/uuid": "^4.2"
},
"config": {
"platform": {
"php": "7.4"
},
"platform-check": false,
"process-timeout": 0,
"optimize-autoloader": true,
"vendor-dir": "vendor",
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"format": "phpcbf --standard=./.phpcs.xml.dist --report-summary --report-source",
"lint": "phpcs --standard=./.phpcs.xml.dist",
"lint-report": "phpcs --standard=./.phpcs.xml.dist --report=checkstyle",
"fix": "php-cs-fixer fix .",
"prefix-dependencies": [
"composer --working-dir=php-scoper install",
"cd php-scoper && vendor/bin/php-scoper add-prefix --output-dir=../vendor_prefixed --force && cd ..",
"composer dump-autoload -o",
"php generate_autoload.php"
]
},
"autoload": {
"psr-4": {
"WCPOS\\WooCommercePOS\\": "includes/"
}
},
"autoload-dev": {
"psr-4": {
"WCPOS\\WooCommercePOS\\Tests\\": "tests/includes/"
}
}
}