-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 828 Bytes
/
package.json
File metadata and controls
27 lines (27 loc) · 828 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
25
26
27
{
"name": "superdb-wasm",
"license": "MIT",
"version": "0.0.2",
"homepage": "https://github.com/brimdata/superdb-wasm",
"type": "module",
"files": [
"index.js",
"superdb.wasm"
],
"scripts": {
"build": "yarn build:wasm_exec && yarn build:wasm",
"build:wasm": "GOARCH=wasm GOOS=js go build -o superdb.wasm.full main.go && gzip -9 superdb.wasm.full -c > superdb.wasm && rm superdb.wasm.full",
"build:wasm_exec": "cp $(go env GOROOT)/lib/wasm/wasm_exec.js .",
"prepack": "yarn clean && yarn build",
"postinstall": "yarn build",
"clean": "rm -fr superdb.wasm",
"pretest": "yarn playwright install",
"test": "yarn playwright test",
"start": "serve ."
},
"devDependencies": {
"@playwright/test": "^1.50.1",
"@types/node": "^22.13.9",
"serve": "^14.2.4"
}
}