-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
67 lines (67 loc) · 1.81 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
{
"name": "bcgov-plugin/bcgov-plugin-cleanbc",
"description": "Frontend plugin to augment Clean BC and Go Electric BC using Block Theme for BC Gov",
"version": "1.12.9",
"type": "wordpress-plugin",
"license": "Apache-2.0",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/bcgov/wordpress-utils"
},
{
"type": "vcs",
"url": "https://github.com/Yoast/PHPUnit-Polyfills"
}
],
"require": {
"composer/installers": "^1.0"
},
"require-dev": {
"bcgov/wordpress-utils": "^2.3",
"yoast/phpunit-polyfills": "^2.0",
"wp-coding-standards/wpcs": "^3.0",
"wp-phpunit/wp-phpunit": "^6.7"
},
"scripts": {
"update-version":[
" bash update-version.sh"
],
"test-setup": [
"bash vendor/bcgov/wordpress-utils/bin/install-wp-tests.sh wordpress_test root 'rootpassword' 0.0.0.0 latest"
],
"setup": [
"npm ci",
"@build"
],
"build" : [
"npm run build"
],
"production" : [
"npm run build:production",
"@update-version",
"@checklist"
],
"checklist" : [
"Bcgov\\Script\\Checklists::postProductionChecks"
],
"phpcs": [
"Bcgov\\Script\\Standards::phpcs"
],
"phpcbf": [
"Bcgov\\Script\\Standards::phpcbf"
],
"test": [
"vendor/bin/phpunit --configuration vendor/bcgov/wordpress-utils/phpunit.xml.dist"
],
"coverage": [
"vendor/bin/phpunit --coverage-html ./coverage/php/"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}