-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.58 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
50
{
"name": "nsfisis/waddiwasi",
"type": "project",
"description": "WebAssembly runtime written in pure PHP",
"license": "MIT",
"authors": [
{
"name": "nsfisis"
}
],
"autoload": {
"psr-4": {
"Nsfisis\\Waddiwasi\\": "src/",
"Nsfisis\\Waddiwasi\\Tests\\": "tests/src/"
}
},
"require-dev": {
"m3m0r7/rubyvm-on-php": "^0.3.3",
"phpstan/phpstan": "^1.12.0",
"phpstan/phpstan-deprecation-rules": "^1.2.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpunit/phpunit": "^11.3.1",
"reliforp/reli-prof": "0.12.x-dev",
"symplify/easy-coding-standard": "^12.3.5"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"check": [
"@lint",
"@test"
],
"ecs": "ecs check",
"ecsfix": "ecs --memory-limit=1G check --fix",
"example:hello-world": "@php examples/hello-world/index.php",
"example:php-on-wasm": "@php -d memory_limit=256M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php",
"example:rubyvm-on-php-on-wasm": "@php -d memory_limit=-1 -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=2G examples/rubyvm-on-php-on-wasm/php-wasm.php",
"lint": [
"@ecs",
"@phpstan"
],
"phpstan": "phpstan --memory-limit=1G analyse",
"phpunit": "phpunit",
"test": [
"@phpunit"
]
}
}