forked from surma/wasmphobia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.14 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
31
32
{
"name": "wasmphobia",
"version": "1.0.0",
"description": "",
"type": "module",
"scripts": {
"dev": "vite",
"build:rust": "cargo build --no-default-features -r --target wasm32-wasi",
"build:opt": "wasm-opt -O3 --strip target/wasm32-wasi/release/wasmphobia.wasm -o target/wasm32-wasi/release/wasmphobia.opt.wasm",
"build:wasm": "npm run build:rust && npm run build:opt",
"build:web:static": "vite build",
"build:web:ssr-script": "vite build --ssr ssr.tsx",
"build:web:ssr": "node dist/ssr.js",
"build:web": "npm run build:web:static && npm run build:web:ssr-script && npm run build:web:ssr",
"build": "npm run build:wasm && npm run build:web"
},
"author": "Surma <[email protected]>",
"license": "Apache-2.0",
"dependencies": {
"@bjorn3/browser_wasi_shim": "^0.3.0",
"@primer/octicons-react": "^19.9.0",
"@primer/primitives": "^8.1.0",
"@primer/react": "^36.16.0",
"@types/styled-components": "^5.1.34",
"preact": "^10.21.0",
"preact-render-to-string": "^6.4.2",
"react-markdown": "^9.0.1",
"styled-components": "^5.3.11",
"vite": "^5.2.10",
"wasm-opt": "^1.4.0"
}
}