{ "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" ] } }