forked from woocommerce/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
71 lines (71 loc) · 1.79 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": "woocommerce/woocommerce",
"description": "An eCommerce toolkit that helps you sell anything. Beautifully.",
"homepage": "https://woocommerce.com/",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"automattic/jetpack-autoloader": "1.2.0",
"php": ">=5.6|>=7.0",
"composer/installers": "1.6.0",
"woocommerce/woocommerce-blocks": "2.3.0-rc.1",
"woocommerce/woocommerce-rest-api": "1.0.3"
},
"require-dev": {
"myclabs/deep-copy": "1.7.0",
"phpunit/phpunit": "7.5.14",
"woocommerce/woocommerce-sniffs": "0.0.6"
},
"config": {
"platform": {
"php": "7.1"
},
"preferred-install": {
"woocommerce/woocommerce-rest-api": "dist",
"woocommerce/woocommerce-blocks": "dist"
},
"sort-packages": true
},
"autoload": {
"exclude-from-classmap": [
"includes/legacy",
"includes/libraries"
],
"psr-4": {
"Automattic\\WooCommerce\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"sh ./bin/package-update.sh"
],
"post-update-cmd": [
"sh ./bin/package-update.sh"
],
"test": [
"phpunit"
],
"phpcs": [
"phpcs -s -p"
],
"phpcs-pre-commit": [
"phpcs -s -p -n"
],
"phpcbf": [
"phpcbf -p"
]
},
"extra": {
"installer-paths": {
"packages/woocommerce-rest-api": ["woocommerce/woocommerce-rest-api"],
"packages/woocommerce-blocks": ["woocommerce/woocommerce-blocks"]
},
"scripts-description": {
"test": "Run unit tests",
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
}
}
}