]> git.mxchange.org Git - friendica.git/blob - composer.json
Merge pull request #12593 from nupplaphil/feat/node.config.php
[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                 "nikic/fast-route": "^1.3",
45                 "paragonie/hidden-string": "^1.0",
46                 "patrickschur/language-detection": "^5.0.0",
47                 "pear/console_table": "^1.3",
48                 "phpseclib/phpseclib": "^3.0",
49                 "pragmarx/google2fa": "^5.0",
50                 "pragmarx/recovery": "^0.2",
51                 "psr/container": "^1.0",
52                 "psr/log": "^1.1",
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                 "npm-asset/cropperjs": "1.2.2",
63                 "npm-asset/es-jquery-sortable": "^0.9.13",
64                 "npm-asset/fullcalendar": "^3.10",
65                 "npm-asset/imagesloaded": "4.1.4",
66                 "npm-asset/jquery": "^2.0",
67                 "npm-asset/jquery-colorbox": "^1.6",
68                 "npm-asset/jquery-datetimepicker": "^2.5",
69                 "npm-asset/jgrowl": "^1.4",
70                 "npm-asset/moment": "^2.24",
71                 "npm-asset/perfect-scrollbar": "0.6.16",
72                 "npm-asset/textcomplete": "^0.18.2",
73                 "npm-asset/typeahead.js": "^0.11.1",
74                 "kornrunner/blurhash": "^1.2",
75                 "psr/clock": "^1.0"
76         },
77         "repositories": [
78                 {
79                         "type": "vcs",
80                         "url": "https://git.friendi.ca/friendica/php-json-ld"
81                 }
82         ],
83         "autoload": {
84                 "psr-4": {
85                         "Friendica\\": "src/",
86                         "Friendica\\Addon\\": "addon/"
87                 }
88         },
89         "autoload-dev": {
90                 "psr-4": {
91                         "Friendica\\Test\\": "tests/"
92                 }
93         },
94         "config": {
95                 "platform": {
96                         "php": "7.3"
97                 },
98                 "autoloader-suffix": "Friendica",
99                 "optimize-autoloader": true,
100                 "preferred-install": "dist",
101                 "fxp-asset": {
102                         "installer-paths": {
103                                 "npm-asset-library": "view/asset",
104                                 "bower-asset-library": "view/asset"
105                         }
106                 }
107         },
108         "archive": {
109                 "exclude": [
110                         "/.*",
111                         "/*file",
112                         "!/.htaccess-dist",
113                         "/tests",
114                         "/*.xml",
115                         "/composer.*",
116                         "/log",
117                         "/cache",
118                         "/photo",
119                         "/proxy",
120                         "/addon",
121                         "!/vendor",
122                         "!/view/asset"
123                 ]
124         },
125         "require-dev": {
126                 "mockery/mockery": "^1.3",
127                 "mikey179/vfsstream": "^1.6",
128                 "phpunit/phpunit": "^9",
129                 "dms/phpunit-arraysubset-asserts": "^0.3.1"
130         },
131         "scripts": {
132                 "test": "phpunit",
133                 "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
134                 "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
135                 "cs:check": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"],
136                 "cs:fix": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"]
137         }
138 }