-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
87 lines (87 loc) · 2.68 KB
/
composer.json
File metadata and controls
87 lines (87 loc) · 2.68 KB
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
85
86
87
{
"name": "backcourt/wc-mnm-interactivity-api",
"description": "Mix and Match using the Interactivity API",
"homepage": "https://github.com/backcourt/wc-mnm-interactivity-api",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "helgatheviking",
"email": "507025+helgatheviking@users.noreply.github.com"
}
],
"autoload": {
"psr-4": {
"Backcourt\\MixAndMatch\\iAPI\\": "src/"
},
"classmap": [
"packages/"
]
},
"support": {
"issues": "https://github.com/backcourt/wc-mnm-interactivity-api/issues",
"source": "https://github.com/backcourt/wc-mnm-interactivity-api"
},
"require": {
"rdlowrey/auryn": "^1.4"
},
"require-dev": {
"woocommerce/woocommerce-sniffs": "^1.0",
"wp-cli/i18n-command": "^2.6"
},
"scripts": {
"makepot-audit": [
"./vendor/bin/wp --allow-root i18n make-pot . languages/wc-mnm-interactivity-api.pot --slug=wc-mnm-interactivity-api --exclude=\".github,.wordpress-org,build,deploy,node_modules,packages,vendor\" --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/backcourt/wc-mnm-interactivity-api/new\"}'"
],
"makepot": [
"@makepot-audit --skip-audit"
],
"phpcs": [
"phpcs . -s -p -n"
],
"phpcs-pre-commit": [
"phpcs . -s -p -n"
],
"phpcb": [
"phpcbf . "
],
"prefix-namespaces": [
"sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'",
"@php bin/strauss.phar",
"@composer dump-autoload"
],
"post-install-cmd": [
"@prefix-namespaces"
],
"post-update-cmd": [
"@prefix-namespaces"
],
"post-autoload-dump": [
"test -f bin/strauss.phar && php bin/strauss.phar include-autoloader || true"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"scripts-description": {
"makepot": "Generate a .pot file for translation",
"makepot-audit": "Generate a .pot file for translation. Dry run.",
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcb": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
"prefix-namespaces": "Prefix namespaces of dependencies with the plugin slug",
"post-install-cmd": "Run after composer install to prefix namespaces",
"post-update-cmd": "Run after composer update to prefix namespaces",
"post-autoload-dump": "Run after autoload dump to include the autoloader"
},
"strauss": {
"target_directory": "packages",
"namespace_prefix": "Backcourt\\MixAndMatch\\iAPI\\",
"classmap_prefix": "Backcourt_MixAndMatch_iAPI",
"constant_prefix": "BCMNMIAPI_"
}
}
}