mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
15 lines
642 B
JSON
15 lines
642 B
JSON
{
|
|
"name": "@assemblyscript/mandelbrot-example",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --use Math=JSMath --importMemory --sourceMap --debug --validate --measure",
|
|
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat -d build/optimized.d.ts --use Math=JSMath -O3 --importMemory --sourceMap --validate --measure",
|
|
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",
|
|
"server": "http-server . -o -c-1"
|
|
},
|
|
"devDependencies": {
|
|
"http-server": "^0.11.1"
|
|
}
|
|
}
|