-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
59 lines (59 loc) · 1.72 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": "knowthecode/starter-plugin",
"description": "A WordPress plugin boilerplate that emphasizes code quality.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"homepage": "https://knowthecode.io/",
"support": {
"issues": "https://github.com/KnowTheCode/starter-plugin/issues",
"source": "https://github.com/KnowTheCode/starter-plugin"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"exclude-from-classmap": [
"/tests/"
]
},
"autoload-dev": {
"psr-4": {
"KnowTheCode\\StarterPlugin\\Tests\\PHP\\": "tests/php/",
"KnowTheCode\\StarterPlugin\\Tests\\PHP\\Unit\\": "tests/php/unit/",
"KnowTheCode\\StarterPlugin\\Tests\\PHP\\Integration\\": "tests/php/integration/"
}
},
"require": {
"php": "^5.6|^7",
"composer/installers": "^1.0"
},
"require-dev": {
"brain/monkey": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"phpunit/phpunit": "~5.7.9",
"roave/security-advisories": "dev-master",
"sirbrillig/phpcs-variable-analysis": "^2.0",
"squizlabs/php_codesniffer": "^3.2",
"wimg/php-compatibility": "^8.0",
"wp-coding-standards/wpcs": "^0.14.1"
},
"config": {
"sort-order": true
},
"scripts": {
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"phpcs-src": "\"vendor/bin/phpcs\" src/",
"phpcs-tests": "\"vendor/bin/phpcs\" tests/php/",
"run-phpcs": [
"@phpcs-src",
"@phpcs-tests"
],
"test-unit": "\"vendor/bin/phpunit\" --testsuite unit --color=always",
"test-integration": "\"vendor/bin/phpunit\" --testsuite integration --configuration tests/php/integration/phpunit.xml.dist --color=always",
"run-tests": [
"@test-unit",
"@test-integration"
]
}
}