This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
77 lines (77 loc) · 2.77 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
{
"name": "gpcsolutions/sentry",
"type": "dolibarr-module",
"description": "Send logs to a Sentry server",
"keywords": [
"dolibarr",
"sentry",
"logging"
],
"homepage": "https://github.com/gpcsolutions/sentry",
"license": "GPL-3.0+",
"support": {
"issues": "https://github.com/gpcsolutions/sentry/issues"
},
"config": {
"process-timeout": 3600,
"bin-dir": "dev/bin"
},
"require": {
"composer/installers": "^1",
"php": ">=5.3.0",
"erusev/parsedown": "^1",
"enrise/urihelper": "^1",
"sentry/sentry": "1.10.0"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^0",
"jakub-onderka/php-console-highlighter": "^0",
"squizlabs/php_codesniffer": "^2",
"wimg/php-compatibility": "^7",
"sebastian/phpcpd": "^2",
"phpunit/php-timer": "^1"
},
"scripts": {
"post-update-cmd": [
"@compat_workaround",
"@bower-update"
],
"post-install-cmd": [
"@compat_workaround",
"@bower-update"
],
"compat_workaround": "if [ -d \"vendor/wimg/php-compatibility\" ]; then\n rm -fr \"vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility\"\n cp -a \"vendor/wimg/php-compatibility\" \"vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility\"\n fi",
"check": [
"@check_lint",
"@check_compat",
"@check_style",
"@check_cpd"
],
"check_lint": "parallel-lint --exclude bower_components --exclude build --exclude doc --exclude vendor --blame .",
"check_compat": "TRAVIS_PHP_VERSION=\"${TRAVIS_PHP_VERSION:=5.3-7.0}\"; phpcs -n -p -d memory_limit=-1 -d max_execution_time=-1 --colors --standard=PHPCompatibility --runtime-set testVersion $TRAVIS_PHP_VERSION --ignore=bower_components/\\*,build/\\*,doc/\\*,vendor/\\* .",
"check_style": "phpcs -s -n -p -d memory_limit=-1 -d max_execution_time=-1 --colors --tab-width=4 --encoding=utf-8 --standard=dev/codesniffer/DolibarrPSR2.xml --ignore=bower_components/\\*,build/\\*,doc/\\*,vendor/\\* .",
"check_cpd": "phpcpd -n --exclude bower_components --exclude build --exclude doc --exclude vendor .",
"bower-update": "bower update",
"build": "cd build; ./makepack-dolibarrmodule.pl",
"doc": [
"@doc_dev"
],
"doc_dev" : [
"@doc_dev_doxygen"
],
"doc_dev_doxygen": "cd build/doxygen; doxygen sentry.doxyfile",
"release": [
"@check",
"@composer update --no-dev",
"@build",
"@composer update"
],
"read_doc_dev": "xdg-open doc/code/phpdoc/index.html",
"production": "@composer update --no-dev",
"git_pre_commit": "@check",
"git_post_commit": "",
"git_pre_push": "@test",
"git_hooks_install": "git config --add core.hooksPath dev/git-hooks",
"git_hooks_remove": "git config --unset core.hooksPath"
}
}