-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
30 lines (30 loc) · 1.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "traffic",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build:wasm": "mkdir -p public && make -j -B -C paka -f emcc.mak EFLAGS='-DVM_BRANCH_DEFER -DVM_USE_FLOAT --bind -fno-rtti -O3 -ffast-math -fno-exceptions -s INVOKE_RUN=0 -Wno-unused-command-line-argument -s EXPORTED_RUNTIME_METHODS=\"[ccall, FS]\" -s EXPORTED_FUNCTIONS=\"['_malloc', '_free']\" -s ALLOW_MEMORY_GROWTH=1 -s WASM=1 -s EXPORT_ES6=0 -s MODULARIZE=1 -DVM_EMCC -DVM_USE_ASYNC -lidbfs.js -s FORCE_FILESYSTEM=1 --embed-file ../bins/boot.bc@boot.vm --embed-file ../../source/browser.paka@browser.paka --embed-file ../lang/io.paka@io.paka -s SINGLE_FILE=1 -s ASSERTIONS=0'",
"build:js": "npx webpack",
"build:watch": "npx webpack --progress --watch",
"build": "npm run build:wasm && npm run build:js"
},
"author": "",
"license": "MIT",
"dependencies": {
"@wasm-tool/wasi": "^0.0.4",
"@wasmer/wasmfs": "^0.12.0",
"codemirror": "^5.65.0",
"compression": "^1.7.4",
"copy-webpack-plugin": "^10.2.0",
"css-loader": "^6.5.1",
"express": "^4.17.2",
"loader-utils": "^3.2.0",
"path-browserify": "^1.0.1",
"style-loader": "^3.3.1",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"xterm": "^4.16.0",
"xterm-addon-fit": "^0.5.0"
}
}