-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
30 lines (30 loc) · 1.16 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
{
"name": "drupal/html_auditor",
"description": "HTML auditor for HTML5, accessibility (WCAG) and link analysis.",
"homepage": "https://github.com/wfp/html_auditor",
"support": {
"issues": "https://github.com/wfp/html_auditor/issues"
},
"type": "drupal-module",
"keywords": [
"audit",
"html5",
"wcag",
"accessibility",
"dead links"
],
"license": "GPL-2.0+",
"require-dev": {
"drupal/coder": "8.2.5",
"andrewholgate/drupalstrict": "0.1.1",
"sebastian/phpcpd": "2.0.2"
},
"scripts": {
"phpcs": "./vendor/bin/phpcs --standard=Drupal,DrupalPractice,DrupalStrict --extensions=php,module,install,profile,drush.inc,test,admin.inc,yml,js,css --report-width=4 --colors --ignore=vendor/,node_modules/ ./",
"phpcpd": "./vendor/bin/phpcpd --names *.php,*.module,*.profile,*.install,*.drush.inc,*.test --min-lines 6 --min-tokens 10 --fuzzy --exclude=vendor --exclude=node_modules ./",
"audit": "composer run phpcs && composer run phpcpd",
"post-install-cmd": [
"[ -f ./vendor/bin/phpcs ]; ./vendor/bin/phpcs --config-set installed_paths ../../drupal/coder/coder_sniffer,../../andrewholgate/drupalstrict"
]
}
}