-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
42 lines (42 loc) · 1.21 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
{
"name": "enhance-dev/ssr",
"description": "A PHP library for server-side rendering with Enhance",
"type": "library",
"license": "Apache-2.0",
"autoload": {
"psr-4": {
"Enhance\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Enhance\\Tests\\": "test/tests/"
}
},
"authors": [
{
"name": "Ryan Bethel",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"require": {
"extism/extism": "dev-main",
"sabberworm/php-css-parser": "^9.0@dev"
},
"scripts": {
"serve-wasm": "php -d ffi.enable=true -S localhost:8000 -t examples/wasm-ssr/public",
"serve-native": "php -S localhost:8000 -t examples/native-ssr/public",
"test": "phpunit",
"test-filter": "phpunit --filter $1",
"post-install-cmd": ["@composer addEnhanceSsrWasmToVendor"],
"post-update-cmd": ["@composer addEnhanceSsrWasmToVendor"],
"addEnhanceSsrWasmToVendor": [
"mkdir -p vendor/enhance/ssr-wasm && cd \"$_\" && curl -L https://github.com/enhance-dev/enhance-ssr-wasm/releases/download/v0.0.4/enhance-ssr.wasm.gz | gunzip > enhance-ssr.wasm"
]
},
"require-dev": {
"phpunit/phpunit": "^11.1@dev",
"squizlabs/php_codesniffer": "*"
}
}