mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-05-20 19:21:30 +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
522 B
JSON
15 lines
522 B
JSON
{
|
|
"name": "@assemblyscript/pson-example",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",
|
|
"asbuild:untouched": "asc assembly/pson.ts -b build/untouched.wasm -t build/untouched.wat --validate --sourceMap --debug --measure",
|
|
"asbuild:optimized": "asc -O assembly/pson.ts -b build/optimized.wasm -t build/optimized.wat --validate --sourceMap --measure",
|
|
"test": "node tests"
|
|
},
|
|
"devDependencies": {
|
|
"pson": "^2.0.0"
|
|
}
|
|
}
|