-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
77 lines (77 loc) · 3.55 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
{
"name": "1984/1984-connector-for-dk-and-woocommerce",
"version": "0.4.5.2",
"type": "wordpress-plugin",
"require-dev": {
"wp-coding-standards/wpcs": "^3.0",
"slevomat/coding-standard": "^8.14",
"phpcompatibility/php-compatibility": "^9.3",
"phpunit/phpunit": "^10",
"psy/psysh": "^0.12.0",
"yoast/phpunit-polyfills": "^2.0",
"aldavigdis/wp-tests-strapon": "^0.1",
"woocommerce/woocommerce": "9.1.2"
},
"repositories": [
{
"type": "package",
"package": {
"name": "woocommerce/woocommerce",
"version": "9.1.2",
"dist": {
"url": "https://github.com/woocommerce/woocommerce/releases/download/9.1.2/woocommerce.zip",
"type": "zip"
}
}
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": false,
"typisttech/imposter-plugin": true
}
},
"autoload": {
"psr-4": {
"NineteenEightyFour\\NineteenEightyWoo\\": "src/"
}
},
"require": {
"opis/json-schema": "^2.0@dev",
"typisttech/imposter-plugin": "^0.6.0@dev",
"brick/math": "^0.12"
},
"extra": {
"imposter": {
"namespace": "NineteenEightyFour\\NineteenEightyWoo"
}
},
"scripts": {
"shell:bash": [
"Composer\\Config::disableProcessTimeout",
"docker exec -it $(docker-compose ps -q | head -n 1) bash"
],
"shell:local": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/psysh"
],
"shell:wp": [
"Composer\\Config::disableProcessTimeout",
"docker exec -it $(docker-compose ps -q | head -n 1) wp shell --allow-root"
],
"test": [
"./vendor/bin/phpunit --testdox --exclude-group external-api --display-warnings --display-notices"
],
"test:external": [
"./vendor/bin/phpunit --testdox --group external-api --display-warnings --display-notices"
],
"debug:tail": [
"Composer\\Config::disableProcessTimeout",
"docker exec -it $(docker-compose ps -q | head -n 1) tail -f /tmp/wp-errors.log"
],
"lint": "./vendor/bin/phpcs -s ./src/ ./js/ ./style/",
"lint:fix": "./vendor/bin/phpcbf -s ./src/ ./js/ ./style/",
"zip:release": "rm -rf vendor/ && composer install --no-dev && cd .. && zip -r 1984-connector-for-dk-and-woocommerce.zip 1984-connector-for-dk-and-woocommerce -i 1984-connector-for-dk-and-woocommerce/languages/\\*.php -i 1984-connector-for-dk-and-woocommerce/languages/\\*.mo -i 1984-connector-for-dk-and-woocommerce/languages/\\*.po -i 1984-connector-for-dk-and-woocommerce/languages/\\*.pot -i 1984-connector-for-dk-and-woocommerce/languages/\\*.json -i 1984-connector-for-dk-and-woocommerce/src/\\* -i 1984-connector-for-dk-and-woocommerce/vendor/\\* -i 1984-connector-for-dk-and-woocommerce/views/\\* -i 1984-connector-for-dk-and-woocommerce/js/\\* -i 1984-connector-for-dk-and-woocommerce/style/\\* -i 1984-connector-for-dk-and-woocommerce/*.php -i 1984-connector-for-dk-and-woocommerce/*.txt -i 1984-connector-for-dk-and-woocommerce/assets/\\* -i 1984-connector-for-dk-and-woocommerce/composer.* -i 1984-connector-for-dk-and-woocommerce/*.xml -i 1984-connector-for-dk-and-woocommerce/readme.txt -i 1984-connector-for-dk-and-woocommerce/json_schemas/*.json"
}
}