This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
76 lines (76 loc) · 2.67 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "technote-space/y-proofreading",
"description": "Proofreading for Japanese",
"type": "wordpress-plugin",
"license": "GPL-2.0+",
"authors": [
{
"name": "Technote",
"email": "[email protected]",
"homepage": "https://technote.space"
}
],
"require": {
"wp-content-framework/core": "^1.0",
"wp-content-framework/api": "^1.0",
"wp-content-framework/cron": "^1.0",
"wp-content-framework/log": "^1.0",
"wp-content-framework/update": "^1.0",
"wp-content-framework/update_check": "^1.0",
"php": ">=5.6"
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*",
"phpmd/phpmd": "^2.8",
"phpcompatibility/phpcompatibility-wp": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"roave/security-advisories": "dev-master",
"phpunit/phpunit": "^4.8 || ^5.7 || ^7.5"
},
"scripts": {
"setup": [
"@prepare"
],
"prepare": [
"@prepare:php"
],
"prepare:php": [
"composer install --no-interaction --prefer-dist --no-suggest"
],
"test": [
"@stage-lint"
],
"stage-lint": [
"@phpcs",
"@phpmd"
],
"phpcs": [
"phpcs --standard=./phpcs.xml"
],
"phpmd": [
"phpmd ./src/,./configs/ ansi phpmd.xml"
],
"bin:phpcs": "TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} ./ci-helper/bin/php/phpcs.sh",
"bin:phpmd": "TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} ./ci-helper/bin/php/phpmd.sh",
"bin:build": "TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} TRAVIS_REPO_SLUG=technote-space/y-proofreading TRAVIS_TAG=v1.2.3 source ./ci-helper/bin/deploy/env.sh && bash ./ci-helper/bin/deploy/create.sh",
"bin:test": "TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} TRAVIS_REPO_SLUG=technote-space/y-proofreading TRAVIS_TAG=v1.2.3 bash ./ci-helper/bin/test.sh",
"bin:download": [
"mkdir -p ./ci-helper/.git",
"chmod -R +w ./ci-helper/.git && rm -rdf ./ci-helper",
"rm -f ./tests/bootstrap.php ./.coveralls.yml ./phpcs.xml ./phpmd.xml phpunit.xml",
"git clone --depth=1 https://github.com/wp-content-framework/ci-helper.git ci-helper"
],
"bin:prepare": "TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} bash ./ci-helper/bin/prepare.sh",
"bin:update": [
"TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} bash ./ci-helper/bin/update/composer.sh",
"TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR:-$(cd $(dirname $0); pwd)} bash ./ci-helper/bin/update/package.sh"
]
},
"config": {
"process-timeout": 1200,
"platform": {
"php": "5.6"
}
}
}