]> git.mxchange.org Git - friendica.git/blob - composer.json
Merge pull request #11615 from annando/api-markers
[friendica.git] / composer.json
1 {
2         "name": "friendica/friendica",
3         "description": "A decentralized social network part of The Federation",
4         "type": "project",
5         "keywords": [
6                 "social network",
7                 "dfrn",
8                 "ostatus",
9                 "diaspora"
10         ],
11         "license": "AGPL-3.0+",
12         "support": {
13                 "issues": "https://github.com/friendica/friendica/issues"
14         },
15         "require": {
16                 "php": ">=7.3",
17                 "ext-ctype": "*",
18                 "ext-curl": "*",
19                 "ext-dom": "*",
20                 "ext-fileinfo": "*",
21                 "ext-gd": "*",
22                 "ext-iconv": "*",
23                 "ext-json": "*",
24                 "ext-libxml": "*",
25                 "ext-mbstring": "*",
26                 "ext-openssl": "*",
27                 "ext-simplexml": "*",
28                 "ext-xml": "*",
29                 "asika/simple-console": "^1.0",
30                 "bacon/bacon-qr-code": "^2.0.0",
31                 "divineomega/password_exposed": "^2.8",
32                 "ezyang/htmlpurifier": "^4.7",
33                 "friendica/json-ld": "^1.0",
34                 "geekwright/po": "^2.0",
35                 "guzzlehttp/guzzle": "^6.5",
36                 "league/html-to-markdown": "^4.8",
37                 "level-2/dice": "^4",
38                 "lightopenid/lightopenid": "dev-master",
39                 "matriphe/iso-639": "^1.2",
40                 "mattwright/urlresolver": "^2.0",
41                 "michelf/php-markdown": "^1.7",
42                 "minishlink/web-push": "^6.0",
43                 "mobiledetect/mobiledetectlib": "^2.8",
44                 "monolog/monolog": "^1.25",
45                 "nikic/fast-route": "^1.3",
46                 "paragonie/hidden-string": "^1.0",
47                 "patrickschur/language-detection": "^5.0.0",
48                 "pear/console_table": "^1.3",
49                 "phpseclib/phpseclib": "^2.0",
50                 "pragmarx/google2fa": "^5.0",
51                 "pragmarx/recovery": "^0.2",
52                 "psr/container": "^1.0",
53                 "seld/cli-prompt": "^1.0",
54                 "smarty/smarty": "^4",
55                 "ua-parser/uap-php": "^3.9",
56                 "xemlock/htmlpurifier-html5": "^0.1.11",
57                 "fxp/composer-asset-plugin": "^1.4",
58                 "bower-asset/base64": "^1.0",
59                 "bower-asset/chart-js": "^2.8",
60                 "bower-asset/dompurify": "^1.0",
61                 "bower-asset/fork-awesome": "^1.1",
62                 "bower-asset/vue": "^2.6",
63                 "npm-asset/cropperjs": "1.2.2",
64                 "npm-asset/es-jquery-sortable": "^0.9.13",
65                 "npm-asset/fullcalendar": "^3.10",
66                 "npm-asset/imagesloaded": "4.1.4",
67                 "npm-asset/jquery": "^2.0",
68                 "npm-asset/jquery-colorbox": "^1.6",
69                 "npm-asset/jquery-datetimepicker": "^2.5",
70                 "npm-asset/jgrowl": "^1.4",
71                 "npm-asset/moment": "^2.24",
72                 "npm-asset/perfect-scrollbar": "0.6.16",
73                 "npm-asset/textcomplete": "^0.18.2",
74                 "npm-asset/typeahead.js": "^0.11.1"
75         },
76         "repositories": [
77                 {
78                         "type": "vcs",
79                         "url": "https://git.friendi.ca/friendica/php-json-ld"
80                 }
81         ],
82         "autoload": {
83                 "psr-4": {
84                         "Friendica\\": "src/",
85                         "Friendica\\Addon\\": "addon/"
86                 },
87                 "files": [
88                         "boot.php"
89                 ]
90         },
91         "autoload-dev": {
92                 "psr-4": {
93                         "Friendica\\Test\\": "tests/"
94                 }
95         },
96         "config": {
97                 "platform": {
98                         "php": "7.3"
99                 },
100                 "autoloader-suffix": "Friendica",
101                 "optimize-autoloader": true,
102                 "preferred-install": "dist",
103                 "fxp-asset": {
104                         "installer-paths": {
105                                 "npm-asset-library": "view/asset",
106                                 "bower-asset-library": "view/asset"
107                         }
108                 }
109         },
110         "archive": {
111                 "exclude": [
112                         "/.*",
113                         "/*file",
114                         "!/.htaccess-dist",
115                         "/tests",
116                         "/*.xml",
117                         "/composer.*",
118                         "/log",
119                         "/cache",
120                         "/photo",
121                         "/proxy",
122                         "/addon",
123                         "!/vendor",
124                         "!/view/asset"
125                 ]
126         },
127         "require-dev": {
128                 "mockery/mockery": "^1.3",
129                 "mikey179/vfsstream": "^1.6",
130                 "phpunit/phpunit": "^9",
131                 "dms/phpunit-arraysubset-asserts": "^0.3.1"
132         },
133         "scripts": {
134                 "test": "phpunit",
135                 "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
136                 "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
137                 "cs:check": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"],
138                 "cs:fix": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"]
139         }
140 }