This repository has been archived by the owner on Jun 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
50 lines (50 loc) · 1.54 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
{
"name": "wfp/content_sync",
"type": "drupal-module",
"description": "Tool for syncing entities",
"authors": [
{
"name": "Otar Zakalashvili",
"email": "[email protected]",
"homepage": "http://otarza.space"
}
],
"keywords": [
"Drupal 8 Module",
"WFP"
],
"license": "GPL-2.0+",
"homepage": "https://github.com/wfp/content_sync",
"minimum-stability": "dev",
"require": {
"drupal/default_content": "1.0-alpha5"
},
"require-dev": {
"drupal/coder": "8.2.5",
"andrewholgate/drupalstrict": "0.1.1",
"sebastian/phpcpd": "2.0.2"
},
"repositories": [
{
"type": "package",
"package": {
"name": "lucasdemarchi/codespell",
"version": "master",
"type": "phpcs-plugin",
"source": {
"url": "https://github.com/lucasdemarchi/codespell.git",
"type": "git",
"reference": "master"
}
}
}
],
"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/ ./",
"phpcpd": "./vendor/bin/phpcpd --names *.php,*.module,*.profile,*.install,*.drush.inc,*.test --min-lines 6 --min-tokens 10 --fuzzy --exclude=vendor ./",
"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"
]
}
}