-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
72 lines (72 loc) · 2.54 KB
/
Copy pathcomposer.json
File metadata and controls
72 lines (72 loc) · 2.54 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
{
"name": "tag1/scolta-php",
"version": "1.0.5-dev",
"description": "AI-powered search with Pagefind \u2014 PHP language binding",
"type": "library",
"license": "MIT",
"authors": [{"name": "Tag1 Consulting", "homepage": "https://tag1.com"}],
"homepage": "https://tag1.com",
"support": {
"issues": "https://github.com/tag1consulting/scolta-php/issues",
"source": "https://github.com/tag1consulting/scolta-php"
},
"keywords": ["search", "ai", "pagefind", "wasm", "scoring"],
"autoload": {
"psr-4": {
"Tag1\\Scolta\\": "src/"
}
},
"require": {
"php": ">=8.1",
"ext-mbstring": "*",
"ext-openssl": "*",
"guzzlehttp/guzzle": "^7.0",
"psr/log": "^3.0"
},
"suggest": {
"ext-intl": "Improves Unicode diacritic normalization quality. Falls back to strtr() mapping without it."
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^10.0|^11.0",
"phpstan/phpstan": "^2.1"
},
"autoload-dev": {
"psr-4": {
"Tag1\\Scolta\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit --no-coverage",
"lint": "php-cs-fixer fix --dry-run --diff",
"format": "php-cs-fixer fix",
"analyse": "phpstan analyse --no-progress --memory-limit=512M",
"update-browser-wasm": [
"cp ../scolta-core/pkg/scolta_core_bg.wasm assets/wasm/ && cp ../scolta-core/pkg/scolta_core.js assets/wasm/",
"@update-js-checksum"
],
"update-asset-manifest": "cd assets && sha256sum js/scolta.js css/scolta.css wasm/scolta_core.js wasm/scolta_core_bg.wasm > ASSETS.sha256",
"update-js-checksum": [
"@update-asset-manifest",
"awk '$2==\"js/scolta.js\"{print $1}' assets/ASSETS.sha256 > assets/js/scolta.js.sha256"
],
"validate-release": "php scripts/validate-release.php",
"check-version-sync": "php scripts/check-version-sync.php"
},
"extra": {
"branch-alias": {
"dev-main": "1.0.x-dev"
}
},
"archive": {
"exclude": ["vendor/", "tests/", "scripts/", "benchmarks/", ".github/", "phpunit.xml", ".php-cs-fixer.dist.php", "phpstan.neon", "phpstan-baseline.neon", "CLAUDE.md", ".editorconfig", "docs/BENCHMARKS-LATEST.md", "docs/LANGUAGE_PARITY.md"]
},
"config": {
"audit": {
"ignore": [
"PKSA-5jz8-6tcw-pbk4",
"PKSA-z3gr-8qht-p93v"
]
}
}
}