This repository has been archived by the owner on May 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
78 lines (78 loc) · 2.83 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
{
"name": "gpcsolutions/zenfusionoauth",
"type": "dolibarr-module",
"description": "A Google OAuth authentication module for Dolibarr",
"keywords": [
"dolibarr",
"google",
"oauth"
],
"homepage": "http://modules.gpcsolutions.fr/zenfusion-oauth",
"license": "GPL-3.0+",
"support": {
"issues": "https://github.com/GPCsolutions/zenfusionoauth/issues"
},
"require": {
"php": ">=5.3.0",
"zeroclipboard/zeroclipboard": "^2.2.0",
"google/apiclient": "1.1.7"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^0",
"jakub-onderka/php-console-highlighter": "^0",
"phpunit/phpunit": "^4",
"squizlabs/php_codesniffer": "^2",
"phpunit/phpunit-selenium": "^2",
"wimg/php-compatibility": "^7"
},
"scripts": {
"post-update-cmd": "@compat_workaround",
"post-install-cmd": "@compat_workaround",
"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_lint": "parallel-lint --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=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=PSR2 --ignore=build/\\*,doc/\\*,vendor/\\* .",
"release": [
"@check",
"@tx_pull",
"@composer update --no-dev",
"@build",
"@composer update"
],
"build": "cd build; ./makepack-dolibarrmodule.pl",
"tx_push": "tx push -s",
"tx_pull": "tx pull -a",
"git_hooks_install": "git config --add core.hooksPath dev/git-hooks",
"git_hooks_remove": "git config --unset core.hooksPath",
"git_pre_commit": "@check",
"git_post_commit": "",
"git_pre_push": [
"@doc_user_i18n",
"@tx_push"
],
"doc": [
"@doc_dev",
"@doc_user"
],
"doc_dev": [
"@doc_dev_doxygen"
],
"doc_dev_doxygen": "cd build/doxygen; doxygen zenfusionoauth.doxyfile",
"doc_user": [
"@doc_user_html",
"@doc_user_pdf",
"@doc_user_epub"
],
"doc_user_html": "cd docs; make html",
"doc_user_pdf": "cd docs; make xelatex",
"doc_user_epub": "cd docs; make epub",
"doc_user_i18n": "cd docs; make gettext; sphinx-intl update -p _build/local -l en - fr",
"read_doc_dev": "xdg-open build/html/index.html",
"read_doc_user": "xdg-open docs/_build/html/index.html"
}
}