This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 144
/
composer.json
84 lines (84 loc) · 1.94 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
75
76
77
78
79
80
81
82
83
84
{
"name": "woocommerce/woocommerce-admin",
"version": "3.4.0-dev",
"description": "A modern, javascript-driven WooCommerce Admin experience.",
"homepage": "https://github.com/woocommerce/woocommerce-admin",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"composer/installers": "^1.9.0",
"php": ">=7.0",
"automattic/jetpack-autoloader": "^2.9.1"
},
"require-dev": {
"woocommerce/woocommerce-sniffs": "0.1.0",
"suin/phpcs-psr4-sniff": "^2.2",
"bamarni/composer-bin-plugin": "^1.4",
"automattic/jetpack-changelogger": "^1.1",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"platform": {
"php": "7.1"
},
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"bamarni/composer-bin-plugin": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"bin": "echo 'bin not installed'",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"test": [
"phpunit"
],
"phpcs": [
"phpcs -s -p"
],
"phpcbf": [
"phpcbf -p"
]
},
"extra": {
"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"
},
"bamarni-bin": {
"target-directory": "bin/composer"
},
"changelogger": {
"changelog": "./changelog.txt",
"formatter": {
"filename": "bin/changelogger/WCAdminFormatter.php"
},
"versioning": "semver",
"changes-dir": "./changelogs",
"types": [
"Fix",
"Add",
"Update",
"Dev",
"Tweak",
"Performance",
"Enhancement"
]
}
},
"autoload": {
"psr-4": {
"Automattic\\WooCommerce\\Admin\\": "src/",
"Automattic\\WooCommerce\\Internal\\Admin\\": "src-internal/Admin/"
}
}
}