-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.dev.json
65 lines (65 loc) · 2.09 KB
/
composer.dev.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": "drupal/config_split",
"type": "drupal-module",
"description": "The dev composer file for Config Split. This allows us to use docker for development but still test on the drupal infrastructure.",
"license": "GPL-2.0-or-later",
"require": {
"drupal/config_filter": "^1"
},
"require-dev": {
"composer/installers": "^1",
"cweagans/composer-patches": "~1.0",
"drupal/core-composer-scaffold": "^8.8||^9",
"drupal/core-recommended": "^8.8||^9",
"drupal/core-dev": "^8.8||^9",
"drush/drush": "^10",
"mglaman/phpstan-drupal": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"php-parallel-lint/php-parallel-lint": "^1.2",
"zaporylie/composer-drupal-optimizations": "^1.0",
"phpro/grumphp-shim": "^0.20.0",
"drupal/chosen": "^3.0",
"drupal/select2_all": "^1.0"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"config": {
"process-timeout": 36000
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [".spoons/ScriptHandler.php"]
},
"scripts": {
"webserver": "cd web && php -S 0.0.0.0:8888 .ht.router.php",
"si": "drush si -v --db-url=${SIMPLETEST_DB:-mysql://root:password@mariadb/db}",
"phpcs": "phpcs --runtime-set ignore_warnings_on_exit 1 --runtime-set ignore_errors_on_exit 1 web/modules/custom",
"lint": "parallel-lint --exclude web --exclude vendor .",
"unit": "phpunit --verbose",
"phpstan": "phpstan analyse",
"post-update-cmd": ["Spoons\\ScriptHandler::createSymlinks"]
},
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": ["type:drupal-library"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/{$name}": ["type:drupal-profile"],
"web/themes/{$name}": ["type:drupal-theme"],
"drush/{$name}": ["type:drupal-drush"]
},
"drupal-scaffold": {
"file-mapping": {
"[project-root]/.gitattributes": false
},
"locations": {
"web-root": "web/"
}
}
}
}