-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
49 lines (49 loc) · 1.35 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
{
"name": "martenb/google",
"description": "Ultra easy-to-use Google login wrapper for [`Nette Framework`](https://github.com/nette/).",
"keywords": ["google", "login", "php", "sdk", "nette", "oauth2"],
"type": "library",
"license": "MIT",
"homepage": "https://github.com/martenb/google",
"authors": [
{
"name": "Martin Brettschneider"
}
],
"require": {
"php": ">= 7.1",
"google/apiclient": "^2.2"
},
"require-dev": {
"ninjify/qa": "^0.8.0",
"ninjify/nunjuck": "^0.2.0",
"nette/di": "^2.4.10"
},
"autoload": {
"psr-4": {
"MartenB\\Google\\": "src/"
}
},
"scripts": {
"qa": [
"linter src tests",
"codesniffer src tests"
],
"tests": [
"tester -s -p php --colors 1 -C tests/cases"
],
"coverage": [
"tester -s -p phpdbg --colors 1 -C --coverage ./coverage.xml --coverage-src ./src tests/cases"
],
"phpstan-install": [
"mkdir -p temp/phpstan",
"composer require -d temp/phpstan phpstan/phpstan:^0.10",
"composer require -d temp/phpstan phpstan/phpstan-deprecation-rules:^0.10",
"composer require -d temp/phpstan phpstan/phpstan-nette:^0.10",
"composer require -d temp/phpstan phpstan/phpstan-strict-rules:^0.10"
],
"phpstan": [
"temp/phpstan/vendor/bin/phpstan analyse -l max -c phpstan.neon src"
]
}
}