-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.19 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": "surrealdb_wasm",
"version": "0.0.0",
"description": "surrealdb_wasm javascript files packager.",
"scripts": {
"replace-fetch-wasm": "sed -i 's/await(await fetch(wasm_url)).arrayBuffer()/await fetchWasm()/g' assets/wasm/surrealdb/index.bundled.js",
"concat": "concat -o assets/wasm/surrealdb/surrealdb_wasm.js assets/wasm/surrealdb/index.bundled.js assets/wasm/surrealdb/surrealdb.js",
"compress": "gzip -c assets/wasm/surrealdb/surrealdb_wasm.js > assets/wasm/surrealdb/surrealdb_wasm.js.gz",
"package": "pnpm run replace-fetch-wasm && pnpm run concat && pnpm run compress",
"dev": "pnpm run concat && flutter run",
"compress-wasm": "gzip -c -9 assets/wasm/surrealdb/index_bg.wasm > assets/wasm/surrealdb/surrealdb.wasm.gz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/limcheekin/surrealdb_wasm.git"
},
"keywords": [
"surrealdb",
"wasm",
"flutter",
"package"
],
"author": "limcheekin@vobject.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/limcheekin/surrealdb_wasm/issues"
},
"homepage": "https://github.com/limcheekin/surrealdb_wasm#readme",
"devDependencies": {
"concat": "^1.0.3"
}
}