forked from City-of-Helsinki/drupal-helfi-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
118 lines (118 loc) · 3.58 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "city-of-helsinki/drupal-helfi-platform",
"description": "Drupal 9 starter project",
"type": "project",
"license": "MIT",
"homepage": "https://github.com/City-of-Helsinki/drupal-helfi-platform",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"composer/installers": "^2.0",
"cweagans/composer-patches": "^1.6.7",
"drupal/core-composer-scaffold": "^9.5",
"drupal/hdbt": "^5.0",
"drupal/hdbt_admin": "^2.0",
"drupal/helfi_azure_fs": "^1.0",
"drupal/helfi_drupal_tools": "dev-main",
"drupal/helfi_platform_config": "^3.0",
"drush/drush": "^10.4 || ^11 || ^12"
},
"require-dev": {
"donatj/mock-webserver": "^2.4",
"drupal/coder": "^8.3",
"drupal/core-dev": "^9.5",
"mglaman/phpstan-drupal": "^1.0",
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpunit/phpunit": "^9.5",
"weitzman/drupal-test-traits": "^2.0"
},
"conflict": {
"drupal/drupal": "*"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"phpstan/extension-installer": true
}
},
"extra": {
"composer-exit-on-patch-failure": true,
"drupal-scaffold": {
"allowed-packages": [
"drupal/core"
],
"locations": {
"web-root": "./public"
},
"file-mapping": {
"[project-root]/.editorconfig": false
}
},
"enable-patching": true,
"installer-paths": {
"public/core": [
"type:drupal-core"
],
"public/libraries/{$name}": [
"type:drupal-library"
],
"public/modules/contrib/{$name}": [
"type:drupal-module"
],
"public/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"public/profiles/{$name}": [
"type:drupal-profile"
],
"public/themes/contrib/{$name}": [
"type:drupal-theme"
],
"public/themes/custom/{$name}": [
"type:drupal-custom-theme"
],
"drush/Commands/{$name}": [
"type:drupal-drush"
]
}
},
"autoload-dev": {
"psr-4": {
"Drupal\\Tests\\dtt\\": "tests/dtt/src"
}
},
"repositories": [
{
"type": "composer",
"url": "https://repository.drupal.hel.ninja"
},
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"scripts": {
"test": [
"@lint-php",
"@test-php"
],
"test-php": "vendor/bin/phpunit -c $PWD/phpunit.xml.dist",
"lint-php": "vendor/bin/phpcs --standard=Drupal --extensions=php,inc,test,info,module,install",
"copy-commit-message-script": "make copy-commit-message-script",
"post-create-project-cmd": [
"make cast-spell",
"@copy-commit-message-script"
],
"post-install-cmd": [
"@copy-commit-message-script"
]
}
}