-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
59 lines (59 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
{
"name": "aivec/wordpress-router",
"description": "WordPress request router. Middleware, JWT, and nonce checks included.",
"type": "library",
"license": "GPL-2.0-only",
"authors": [
{
"name": "Evan Shaw",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Aivec\\WordPress\\Routing\\": "src"
}
},
"bin": [
"bin/generate-key-pair"
],
"scripts": {
"lint": "phpcs -ps --standard=AivecWP-5 --extensions=php .",
"lint:fix": "phpcbf -ps --standard=AivecWP-5 --extensions=php .",
"i18n:update-pos": [
"wp i18n make-pot --domain=avcwpr . src/languages/messages.pot",
"find ./src/languages -name \"*.po\" | xargs -I % msgmerge -o % % src/languages/messages.pot"
],
"i18n:make-mo": "wp i18n make-mo src/languages",
"codecept:up": "./vendor/bin/aivec-codecept up",
"codecept:down": "./vendor/bin/aivec-codecept down",
"test:wpunit": "./vendor/bin/aivec-codecept codecept run wpunit",
"test:functional": "./vendor/bin/aivec-codecept codecept run functional",
"test:acceptance": "./vendor/bin/aivec-codecept codecept run acceptance",
"test:all": [
"composer test:wpunit",
"composer test:functional",
"composer test:acceptance"
]
},
"require-dev": {
"aivec/phpcs-wp": "^2.0",
"aivec/codecept-docker": "^0.8.1",
"codeception/module-asserts": "^1.3",
"codeception/module-db": "^1.1",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-cli": "^1.1",
"codeception/module-rest": "^2.0",
"wp-cli/i18n-command": "^2.4"
},
"require": {
"nikic/fast-route": "^1.3",
"aivec/response-handler": "^5.0",
"firebase/php-jwt": "^5.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}