-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
41 lines (41 loc) · 1.36 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
33
34
35
36
37
38
39
40
41
{
"name": "@surrealdb/wasm",
"version": "1.1.0",
"description": "WebAssembly driver for SurrealDB",
"repository": {
"type": "git",
"url": "https://github.com/surrealdb/surrealdb.wasm.git"
},
"author": {
"name": "Tobie Morgan Hitchcock",
"url": "https://surrealdb.com"
},
"type": "module",
"files": [
"dist/"
],
"browser": "./dist/surreal/index.bundled.js",
"exports": {
".": {
"types": "./dist/surreal/types.d.ts",
"default": "./dist/surreal/index.js"
}
},
"scripts": {
"serve": "esbuild --bundle --servedir=.",
"build": "pnpm compile && pnpm build-literal",
"compile": "wasm-pack build --release --target deno --out-name index --out-dir compiled/surreal --no-default-features --features kv-indxdb,kv-mem",
"build:debug": "pnpm compile:debug && pnpm build-literal",
"compile:debug": "wasm-pack build --dev --target deno --out-name index --out-dir compiled/surreal --no-default-features --features kv-indxdb,kv-mem",
"build-literal": "node build/index.js"
},
"devDependencies": {
"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.17.19",
"esbuild-plugin-copy-file": "^0.0.2",
"typescript": "^5.4.5"
},
"peerDependencies": {
"surrealdb": "^1.1.0"
}
}