1 { |
1 { |
2 "name": "valendesigns/option-tree", |
2 "name": "valendesigns/option-tree", |
3 "description": "Theme Options UI Builder for WordPress.", |
3 "description": "Theme Options UI Builder for WordPress.", |
|
4 "version": "2.7.3", |
|
5 "type": "wordpress-plugin", |
4 "homepage": "https://github.com/valendesigns/option-tree", |
6 "homepage": "https://github.com/valendesigns/option-tree", |
5 "license": "GPLv3", |
7 "license": "GPL-2.0-or-later", |
6 "authors": [ |
8 "authors": [ |
7 { |
9 { |
8 "name": "Derek Herman", |
10 "name": "Derek Herman", |
9 "email": "derek@valendesigns.com", |
11 "email": "derek@valendesigns.com", |
10 "homepage": "http://valendesigns.com", |
12 "homepage": "http://valendesigns.com", |
11 "role": "Developer" |
13 "role": "Developer" |
12 } |
14 } |
13 ], |
15 ], |
|
16 "prefer-stable" : true, |
14 "require": { |
17 "require": { |
|
18 "php": ">=5.3" |
15 }, |
19 }, |
16 "autoload": { |
20 "require-dev": { |
17 "files": ["ot-loader.php"] |
21 "brainmaestro/composer-git-hooks": "^2.6.0", |
|
22 "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", |
|
23 "phpcompatibility/phpcompatibility-wp": "*", |
|
24 "php-coveralls/php-coveralls": "^2.1", |
|
25 "slowprog/composer-copy-file": "0.2.1", |
|
26 "wp-coding-standards/wpcs": "*", |
|
27 "xwp/wp-dev-lib": "^1.1.0" |
|
28 }, |
|
29 "scripts": { |
|
30 "phpcs": [ |
|
31 "./vendor/bin/phpcs ${1:.} --standard=.phpcs.ruleset.xml" |
|
32 ], |
|
33 "phpcbf": [ |
|
34 "./vendor/bin/phpcbf ${1:.} --standard=.phpcs.ruleset.xml" |
|
35 ], |
|
36 "phpunit": [ |
|
37 "./bin/phpunit.sh xdebug_off" |
|
38 ], |
|
39 "phpunit-coverage": [ |
|
40 "./bin/phpunit.sh xdebug_on" |
|
41 ], |
|
42 "post-install-cmd": [ |
|
43 "./bin/install-tests.sh", |
|
44 "./vendor/bin/cghooks add --no-lock", |
|
45 "SlowProg\\CopyFile\\ScriptHandler::copy" |
|
46 ], |
|
47 "post-update-cmd": [ |
|
48 "./bin/install-tests.sh", |
|
49 "./vendor/bin/cghooks update", |
|
50 "SlowProg\\CopyFile\\ScriptHandler::copy" |
|
51 ], |
|
52 "readme": [ |
|
53 "./vendor/xwp/wp-dev-lib/scripts/generate-markdown-readme" |
|
54 ] |
|
55 }, |
|
56 "extra": { |
|
57 "copy-file": { |
|
58 "tests/autoload.php": "tests/wp-tests/phpunit/wp-tests-config.php" |
|
59 }, |
|
60 "hooks": { |
|
61 "pre-commit": "./vendor/xwp/wp-dev-lib/scripts/pre-commit" |
|
62 } |
18 } |
63 } |
19 } |
64 } |