-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
41 lines (41 loc) · 1.3 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": "surrealql.wasm",
"version": "0.1.8",
"packageManager": "[email protected]",
"description": "WebAssembly utility functions for SurrealQL",
"repository": {
"type": "git",
"url": "https://github.com/surrealdb/surrealql.wasm"
},
"author": {
"name": "Tobie Morgan Hitchcock",
"url": "https://surrealdb.com"
},
"type": "module",
"files": [
"dist/",
"lib/"
],
"exports": {
"./v1": {
"types": "./lib/v1.d.ts",
"default": "./lib/v1.js"
},
"./v2": {
"types": "./lib/v2.d.ts",
"default": "./lib/v2.js"
}
},
"scripts": {
"serve": "esbuild --bundle --servedir=.",
"build": "npm run compile && npm run build-literal",
"compile": "npm run compile:v1 && npm run compile:v2",
"compile:v1": "wasm-pack build --release --target deno --out-name index --out-dir compiled/v1 --no-default-features --features parser-v1",
"compile:v2": "wasm-pack build --release --target deno --out-name index --out-dir compiled/v2 --no-default-features --features parser-v2",
"build-literal": "node build/index.js"
},
"devDependencies": {
"esbuild": "^0.17.19",
"esbuild-plugin-copy-file": "^0.0.2"
}
}