-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 903 Bytes
/
Copy pathpackage.json
File metadata and controls
24 lines (24 loc) · 903 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
{
"name": "wasm-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node --experimental-modules --experimental-wasm-modules ./dist/index.js",
"build": "npm run asbuild && tsc -p ./tsconfig.json && npm run copy",
"copy": "rm -rf dist/build/ && cp -r build dist/build/",
"test": "echo \"Error: no test specified\" && exit 1",
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug",
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize",
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized"
},
"author": "",
"license": "ISC",
"dependencies": {
"typescript": "^3.7.2"
},
"devDependencies": {
"@types/node": "^12.12.14",
"assemblyscript": "^0.8.1"
}
}