-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
65 lines (65 loc) · 1.73 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
{
"name": "bcgov-theme/design-system-wordpress-theme",
"description": "Design System WordPress Theme",
"version": "1.4.0",
"type": "wordpress-theme",
"license": "Apache-2.0",
"repositories": [
{
"type": "composer",
"url": "https://apps.itsm.gov.bc.ca/satis"
}
],
"require-dev": {
"bcgov/wordpress-utils": "2.4.0",
"yoast/phpunit-polyfills": "^1.0"
},
"autoload": {
"psr-4": {
"Bcgov\\Theme\\DesignSystem\\": [
"src",
"inc"
]
}
},
"autoload-dev": {
"psr-4": {
"Bcgov\\Theme\\DesignSystem\\Tests\\": "Tests/"
}
},
"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"
],
"production": [
"composer validate",
"composer phpcbf",
"composer phpcs",
"npm run fix:js",
"npm run fix:css",
"npm run test",
"npm run build"
],
"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
}
}
}