summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 89400867bac33a1602f6eb44cf1ac96816bc435e (plain)
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
{
  "name": "nextcloud/social",
  "description": "Social app",
  "minimum-stability": "stable",
  "license": "AGPL-3.0-or-later",
  "authors": [
    {
      "name": "Maxence Lange",
      "email": "maxence@artificial-owl.com"
    }
  ],
  "config": {
    "platform": {
      "php": "8.1"
    },
    "optimize-autoloader": true,
    "classmap-authoritative": true,
    "autoloader-suffix": "Social"
  },
  "autoload": {
    "psr-4": {
      "OCA\\Social\\": "lib/"
    }
  },
  "require": {
    "gumlet/php-image-resize": "2.0.*",
    "friendica/json-ld": "^1.0",
    "kornrunner/blurhash": "^1.2"
  },
  "require-dev": {
    "phpunit/phpunit": "^9.5",
    "nextcloud/coding-standard": "^1.0.0",
    "nextcloud/ocp": "dev-master",
    "vimeo/psalm": "^5.1.0"
  },
  "scripts": {
    "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
    "cs:check": "php-cs-fixer fix --dry-run --diff",
    "cs:fix": "php-cs-fixer fix",
    "psalm": "psalm --threads=1 --update-baseline",
    "psalm:update-baseline": "psalm --threads=1 --update-baseline",
    "psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
    "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
    "test:unit": "vendor/bin/phpunit -c tests/phpunit.xml"
  },
  "repositories": [
    {
      "type": "vcs",
      "url": "https://git.friendi.ca/friendica/php-json-ld"
    }
  ]
}