-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
31 lines (31 loc) · 934 Bytes
/
Copy pathcomposer.json
File metadata and controls
31 lines (31 loc) · 934 Bytes
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
{
"name": "aheinze/scriptlite",
"version": "0.2.0",
"description": "An ECMAScript (ES5/ES6 subset) bytecode-compiled interpreter",
"type": "library",
"license": "MIT",
"require": {
"php": ">=8.3"
},
"require-dev": {
"phpunit/phpunit": "^11.0"
},
"autoload": {
"psr-4": {
"ScriptLite\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ScriptLite\\Tests\\": "tests/"
}
},
"scripts": {
"build:ext": "cd ext/scriptlite && phpize && ./configure --enable-scriptlite && make -j$(nproc)",
"test": "php run-tests.php",
"test:php": "php vendor/bin/phpunit tests/",
"test:ext": "php -d extension=ext/scriptlite/modules/scriptlite.so vendor/bin/phpunit tests/",
"bench": "php bench.php",
"bench:ext": "php -d extension=ext/scriptlite/modules/scriptlite.so bench.php"
}
}