forked from identitysolutions/auth0-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
83 lines (83 loc) · 2.61 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
{
"name": "drupal/auth0",
"type": "drupal-module",
"license": "MIT",
"description": "Single Sign On for Enterprises + Social Login + User/Passwords. For all your Drupal instances. Powered by Auth0.",
"require": {
"auth0/auth0-php": "^7.9"
},
"require-dev": {
"composer/installers": "^1.9",
"drupal/core-recommended": "^9",
"drupal/core-dev": "^9",
"drupal/core-composer-scaffold": "^9"
},
"prefer-stable": true,
"config": {
"bin-dir": "bin/",
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": ["type:drupal-library"],
"web/modules/{$name}": ["type:drupal-module"],
"web/profiles/{$name}": ["type:drupal-profile"],
"web/themes/{$name}": ["type:drupal-theme"],
"drush/{$name}": ["type:drupal-drush"]
},
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"drush": {
"services": {
"drush.services.yml": "^10"
}
}
},
"scripts": {
"post-install-cmd": "@post-update-cmd",
"post-update-cmd": [
"@populate-web-modules-project"
],
"populate-web-modules-project": [
"rm -rf web/modules/project && mkdir -p web/modules/project",
"cp -r src/ js/ templates/ auth0.* composer.* web/modules/project/"
],
"phpqa": [
"@populate-web-modules-project",
"docker run --rm -it -v `pwd`:/app/drupal -v $PWD/reports:/app/reports ghcr.io/sparkfabrik/drupal-qa:latest vendor/bin/phpqa --analyzedDirs /app/drupal/web/modules/project --tools=phpmetrics,phploc,phpcs,php-cs-fixer,phpmd,pdepend,phpcpd,phpstan,phpunit,security-checker:0,parallel-lint:0"
]
},
"authors": [
{
"name": "German Lena",
"email": "german@auth0.com"
},
{
"name": "Carlos Mostek",
"email": "mostekcm@auth0.com"
},
{
"name": "Josh Cunningham",
"email": "josh.cunningham@auth0.com"
}
]
}