forked from wasmerio/webassembly.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.75 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.75 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"private": true,
"name": "wasm-shell",
"description": "PWA for the wasm-shell",
"keywords": [
"web-assembly",
"webassembly",
"wasm",
"web",
"assembly",
"wasi",
"wasmer",
"wasmerio",
"wasmfs"
],
"version": "0.0.1",
"license": "MIT",
"scripts": {
"postinstall": "npx run-s build:wasm-terminal build:wasm-transformer",
"build": "npx run-s build:wasm-terminal build:wasm-transformer build:preact",
"build:preact": "npx preact build --no-prerender",
"build:wasm-terminal": "npx cpy 'node_modules/@wasmer/wasm-terminal/dist' src/assets/wasm-terminal",
"build:wasm-transformer": "npx run-s wasm-transformer:copy wasm-transformer:replace",
"wasm-transformer:copy": "npx cpy 'node_modules/@wasmer/wasm-transformer' src/assets/wasm-transformer",
"wasm-transformer:replace": "npx replace 'module = import.meta.url.replace' '// module = import.meta.url.replace' src/assets/wasm-transformer/wasm_transformer.js",
"dev": "npx preact watch -p 8000",
"serve": "npx serve -p 8000 build/",
"lint": "npx eslint src"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"@babel/plugin-syntax-import-meta": "^7.2.0",
"cpy-cli": "^2.0.0",
"eslint": "^4.5.0",
"eslint-config-synacor": "^1.1.0",
"if-env": "^1.0.0",
"npm-run-all": "^4.1.5",
"preact-cli": "^3.0.0-rc.5",
"replace": "^1.1.1",
"serve": "^11.1.0"
},
"dependencies": {
"@wasmer/wasm-terminal": "^0.2.2",
"@wasmer/wasm-transformer": "^0.2.0",
"idb-keyval": "^3.2.0",
"normalize.css": "^8.0.1",
"preact": "^8.5.2",
"preact-compat": "^3.17.0",
"preact-render-to-string": "^4.1.0",
"text-table": "^0.2.0"
}
}