-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcomposer.json
More file actions
102 lines (102 loc) · 2.32 KB
/
Copy pathcomposer.json
File metadata and controls
102 lines (102 loc) · 2.32 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "seamapi/seam",
"description": "SDK for the Seam API written in PHP.",
"type": "library",
"keywords": [
"seam",
"sdk",
"api",
"iot",
"smart-lock",
"access-control"
],
"homepage": "https://github.com/seamapi/php",
"license": "MIT",
"authors": [
{
"name": "Seam Labs, Inc.",
"email": "engineering@getseam.com",
"homepage": "https://www.seam.co"
}
],
"support": {
"docs": "https://docs.seam.co",
"issues": "https://github.com/seamapi/php/issues",
"source": "https://github.com/seamapi/php"
},
"require": {
"php": "^8.2",
"caseyamcl/guzzle_retry_middleware": "^2.13",
"guzzlehttp/guzzle": "^7.5",
"svix/svix": "^1.40"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"vimeo/psalm": "^6.0"
},
"autoload": {
"psr-4": {
"Seam\\": "src/"
},
"classmap": [
"src/Resources/"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"platform": {
"php": "8.2.27"
},
"sort-packages": true
},
"archive": {
"exclude": [
"/.devcontainer",
"/.editorconfig",
"/.env.example",
"/.github",
"/.npmrc",
"/.phpunit.cache",
"/.prettierignore",
"/.prettierrc.json",
"/.releaserc.json",
"/codegen",
"/eslint.config.ts",
"/node_modules",
"/package-lock.json",
"/package.json",
"/phpunit.xml.dist",
"/pkg",
"/psalm.xml",
"/tests",
"/tmp",
"/tsconfig.json",
"/vendor",
"/version.ts"
]
},
"scripts": {
"build": "@composer archive --format=zip --dir=pkg --file=seam",
"test": "phpunit",
"lint": [
"@lint:composer",
"@lint:syntax",
"@lint:types"
],
"lint:composer": "@composer validate --strict",
"lint:syntax": "! find src tests -name '*.php' -exec php -l {} \\; | grep -v '^No syntax errors detected'",
"lint:types": "psalm --no-cache"
},
"scripts-descriptions": {
"build": "Build a distributable archive of this package into pkg/.",
"test": "Run the test suite.",
"lint": "Run all lint checks.",
"lint:composer": "Validate composer.json and composer.lock.",
"lint:syntax": "Check every PHP source file for syntax errors.",
"lint:types": "Run static analysis with Psalm."
}
}