aboutsummaryrefslogtreecommitdiffhomepage
path: root/composer.json
blob: e937c628bd5b1c61b024cf67039a3125a8c4619b (plain)
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.23",
        "phpstan/phpstan-deprecation-rules": "^1.2.1",
        "phpstan/phpstan-strict-rules": "^1.6.2",
        "phpunit/phpunit": "^12.1.0",
        "reliforp/reli-prof": "0.12.x-dev",
        "symplify/easy-coding-standard": "^12.5.11"
    },
    "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"
        ]
    }
}