forked from nuvoleweb/ui_patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
41 lines (41 loc) · 1.32 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
{
"name": "drupal/ui_patterns",
"type": "drupal-module",
"description": "UI Patterns.",
"keywords": ["drupal", "web", "ui"],
"minimum-stability": "stable",
"license": "GPL-2.0+",
"authors": [
{
"name": "Nuvole Web",
"email": "[email protected]"
}
],
"prefer-stable": true,
"require-dev": {
"phpunit/phpunit": "5.5.*",
"bovigo/assert": "~1.7",
"drupal/coder": "8.2.8",
"nuvoleweb/drupal-behat": "1.0.2"
},
"autoload": {
"psr-4": {
"Drupal\\ui_patterns\\": "./src/",
"Drupal\\ui_patterns\\Tests\\": "./tests/src/"
}
},
"scripts": {
"post-install-cmd": [
"./vendor/bin/phpcs --config-set installed_paths ../../drupal/coder/coder_sniffer",
"./vendor/bin/phpcs --config-set show_progress 1",
"cp ./tests/scripts/pre-push.sh .git/hooks/pre-push && chmod +x .git/hooks/pre-push"
],
"post-update-cmd": [
"./vendor/bin/phpcs --config-set installed_paths ../../drupal/coder/coder_sniffer",
"./vendor/bin/phpcs --config-set show_progress 1",
"cp ./tests/scripts/pre-push.sh .git/hooks/pre-push && chmod +x .git/hooks/pre-push"
],
"phpcs": "./vendor/bin/phpcs --standard=Drupal,DrupalPractice ./src ./tests/src ./modules",
"phpcbf": "./vendor/bin/phpcbf --standard=Drupal,DrupalPractice ./src ./tests/src ./modules"
}
}