mirror of
https://github.com/encounter/jco.git
synced 2026-07-10 12:18:38 -07:00
16 lines
569 B
JSON
16 lines
569 B
JSON
{
|
|
"name": "add-wasm",
|
|
"description": "Simple codebase for compiling an add function to WebAssembly with jco",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "jco componentize add.js --wit wit/component.wit --world-name component --out add.wasm --disable all",
|
|
"transpile": "jco transpile add.wasm -o dist/transpiled",
|
|
"transpiled-js": "node run-transpiled.js",
|
|
"all": "npm run build && npm run transpile && npm run transpiled-js"
|
|
},
|
|
"devDependencies": {
|
|
"@bytecodealliance/jco": "1.9.1",
|
|
"@bytecodealliance/componentize-js": "0.16.0"
|
|
}
|
|
}
|