Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
66 lines (66 loc) · 1.98 KB
/
Copy pathcomposer.json
File metadata and controls
66 lines (66 loc) · 1.98 KB
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
{
"name": "drupflare/worker",
"description": "Drupal 11 on Cloudflare Workers: PHP as WebAssembly inside a Durable Object",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Gregory Mitchell",
"email": "me@gmitch215.xyz"
}
],
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"php": ">=8.3",
"composer/installers": "^2.3",
"drupal/admin_toolbar": "^3.6",
"drupal/core-composer-scaffold": "^11.4",
"drupal/core-project-message": "^11.4",
"drupal/core-recipe-unpack": "^11.4",
"drupal/core-recommended": "^11.4",
"drupal/core-vendor-hardening": "^11.4",
"drupal/ctools": "^4.1",
"drupal/pathauto": "^1.15",
"drupal/token": "^1.17",
"drupflare/drupflare": "0.*",
"drupflare/rom": "0.*"
},
"config": {
"sort-packages": true,
"vendor-dir": ".composer-vendor",
"allow-plugins": {
"composer/installers": false,
"drupal/core-composer-scaffold": false,
"drupal/core-project-message": false,
"drupal/core-recipe-unpack": false,
"drupal/core-vendor-hardening": false,
"symfony/runtime": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpdocumentor/shim": true
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"require-dev": {
"drupal/coder": "^9.0",
"phpdocumentor/shim": "^3.10",
"phpstan/phpstan": "^2.2"
},
"scripts": {
"analyze": "phpstan analyse --memory-limit=1G",
"analyze:scripts": "phpstan analyse -c phpstan-scripts.neon --memory-limit=1G",
"lint": "phpcs",
"lint:fix": "phpcbf"
},
"scripts-descriptions": {
"analyze": "Runs PHPStan over src/site/php at the level pinned in phpstan.neon. Needs the Drupal tree (bun run fetch:drupal) linked at /drupal, where the runtime mounts it.",
"analyze:scripts": "Runs the same analysis plus scripts/, which is not gated and needs assets/probe/pw-probe.php.",
"lint": "Runs phpcs over src/site/php with the ruleset in phpcs.xml.dist.",
"lint:fix": "Runs phpcbf over the same ruleset."
}
}