-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
42 lines (42 loc) · 1.87 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
{
"name": "mt8/hello-tencho",
"description": "This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words said most famously by Motohachi Tencho: Hello, Tencho. When activated you will randomly see a lyric from <cite>Hello, Tencho</cite> in the upper right of your admin screen on every page.",
"type": "wordpress-plugin",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "*",
"humanmade/coding-standards": "*",
"wp-phpunit/wp-phpunit": "^5.4",
"yoast/phpunit-polyfills": "^1.0.1",
"szepeviktor/phpstan-wordpress": "^0.7.7",
"behat/behat": "^3.8"
},
"autoload": {
"psr-4": {
"mt8\\Hello_Tencho\\" : "includes/"
}
},
"scripts": {
"create-release" : "bash bin/create-release",
"format-php" : "phpcbf --standard=./tests/phpcs/.phpcs.xml.dist --report-summary --report-source",
"lint-php" : "phpcs --standard=./tests/phpcs/.phpcs.xml.dist",
"setup-phpunit" : "bash tests/phpunit/install-wp-tests.sh tests-wordpress root password tests-mysql '' true true",
"phpunit" : "wp-env run phpunit 'IS_WP_ENV=1 phpunit -c /var/www/html/wp-content/plugins/hello-tencho/tests/phpunit/phpunit.xml.dist --verbose'",
"e2e" : "npm run test:e2e",
"phpstan" : "vendor/bin/phpstan analyse -c tests/phpstan/phpstan.neon.dist --memory-limit=1G",
"behat" : "IS_WP_ENV=1 vendor/bin/behat -c tests/behat/behat.yml.dist",
"test" : [
"@lint-php",
"@phpunit",
"@e2e",
"@phpstan",
"@behat"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}