-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
74 lines (74 loc) · 2.31 KB
/
composer.json
File metadata and controls
74 lines (74 loc) · 2.31 KB
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
{
"name": "typisttech/wordfence-api",
"description": "Fetch WordPress vulnerability information from Wordfence vulnerability data feed.",
"license": "MIT",
"keywords": [
"security",
"wordfence",
"wordpress"
],
"authors": [
{
"name": "Typist Tech",
"homepage": "https://typist.tech"
},
{
"name": "Tang Rufus",
"email": "tangrufus@gmail.com",
"homepage": "https://tangrufus.com",
"role": "Developer"
}
],
"homepage": "https://github.com/typisttech/wordfence-api",
"support": {
"issues": "https://github.com/typisttech/wordfence-api/issues",
"source": "https://github.com/typisttech/wordfence-api",
"security": "https://github.com/typisttech/wordfence-api/security"
},
"require": {
"php": "^8.3",
"composer/semver": "^3.4",
"guzzlehttp/guzzle": "^7.9"
},
"require-dev": {
"mockery/mockery": "^1.6",
"pestphp/pest": "^4.1",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0"
},
"autoload": {
"psr-4": {
"TypistTech\\WordfenceApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"fixture:download": [
"curl -o ./tests/Fixtures/vulnerabilities.Production.json https://www.wordfence.com/api/intelligence/v2/vulnerabilities/production",
"curl -o ./tests/Fixtures/vulnerabilities.Scanner.json https://www.wordfence.com/api/intelligence/v2/vulnerabilities/scanner"
],
"lint": [
"@composer normalize --dry-run",
"pint --test",
"phpstan analyse"
],
"pest": "pest -d memory_limit=512M",
"pest:e2e": "pest -d memory_limit=512M --group=e2e",
"pest:feature": "pest -d memory_limit=512M --group=feature",
"pest:unit": "pest --group=unit"
}
}