12 lines
529 B
JSON
12 lines
529 B
JSON
{
|
|
"name": "rotate",
|
|
"scripts": {
|
|
"build:image": "docker build -t squoosh-rotate .",
|
|
"build": "docker run --rm -v $(pwd):/src squoosh-rotate ./build.sh",
|
|
"benchmark": "echo File size after gzip && npm run benchmark:filesize && echo Optimizing && npm run -s benchmark:optimizing",
|
|
"benchmark:baseline": "v8 --liftoff --no-wasm-tier-up --no-opt ./benchmark.js",
|
|
"benchmark:optimizing": "v8 --no-liftoff --no-wasm-tier-up ./benchmark.js",
|
|
"benchmark:filesize": "cat rotate.wasm | gzip -c9n | wc -c"
|
|
}
|
|
}
|