-
Notifications
You must be signed in to change notification settings - Fork 24
/
composer.json
57 lines (57 loc) · 1.6 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
{
"name": "wp-api/jwt-auth",
"type": "wordpress-plugin",
"description": "Enable JSON Web Token authentication for the WordPress REST API.",
"homepage": "https://github.com/WP-API/jwt-auth",
"license": "GPLv2",
"prefer-stable" : true,
"require": {
"php": ">=5.6.20"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.6.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"firebase/php-jwt": "^5.0",
"phpcompatibility/phpcompatibility-wp": "*",
"php-coveralls/php-coveralls": "^2.1",
"slowprog/composer-copy-file": "0.2.1",
"wp-coding-standards/wpcs": "*",
"xwp/wp-dev-lib": "^1.1.1"
},
"scripts": {
"phpcs": [
"./vendor/bin/phpcs ${1:.} --standard=.phpcs.ruleset.xml"
],
"phpcbf": [
"./vendor/bin/phpcbf ${1:.} --standard=.phpcs.ruleset.xml"
],
"phpunit": [
"./bin/phpunit.sh xdebug_off"
],
"phpunit-coverage": [
"./bin/phpunit.sh xdebug_on"
],
"post-install-cmd": [
"./bin/install-tests.sh",
"./vendor/bin/cghooks add --no-lock",
"SlowProg\\CopyFile\\ScriptHandler::copy"
],
"post-update-cmd": [
"./bin/install-tests.sh",
"./vendor/bin/cghooks update",
"SlowProg\\CopyFile\\ScriptHandler::copy"
],
"readme": [
"./vendor/xwp/wp-dev-lib/scripts/generate-markdown-readme"
]
},
"extra": {
"copy-file": {
"tests/autoload.php": "tests/wp-tests/phpunit/wp-tests-config.php",
"vendor/firebase/php-jwt/src/": "wp-includes/php-jwt/"
},
"hooks": {
"pre-commit": "./vendor/xwp/wp-dev-lib/scripts/pre-commit"
}
}
}