@crossbind/port-spatialite-wasi 2.0.0-beta.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +35 -0
- package/README.md +11 -0
- package/config.guess +1823 -0
- package/config.sub +1885 -0
- package/crossbind.build.js +1 -0
- package/crossbind.config.js +11 -0
- package/dist/prebuilt/CMakeLists.txt +57 -0
- package/dist/prebuilt/wasi-wasm32-st-release/crossbind-emccflags.fingerprint +1 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/control_points.h +259 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/debug.h +77 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaia_network.h +627 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaia_topology.h +1221 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiaaux.h +540 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiaconfig-msvc.h +56 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiaconfig-msvc.h.in +55 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiaconfig.h +68 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiaconfig.h.in +67 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiaexif.h +669 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiageo.h +77 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gaiamatrix.h +277 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/geojson.h +586 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/geopackage.h +198 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_advanced.h +5184 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_const.h +606 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_core.h +2294 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_dxf.h +993 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_dynamic.h +416 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_formats.h +2056 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_mbr.h +606 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_sequence.h +173 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_structs.h +880 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_wfs.h +581 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/gg_xml.h +818 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/spatialite_ext.h +64 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/sqlite.h +70 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite/stored_procedures.h +641 -0
- package/dist/prebuilt/wasi-wasm32-st-release/include/spatialite.h +2098 -0
- package/dist/prebuilt/wasi-wasm32-st-release/lib/libspatialite.a +0 -0
- package/dist/prebuilt/wasi-wasm32-st-release/lib/libspatialite.la +41 -0
- package/dist/prebuilt/wasi-wasm32-st-release/lib/mod_spatialite.a +0 -0
- package/dist/prebuilt/wasi-wasm32-st-release/lib/mod_spatialite.la +41 -0
- package/dist/prebuilt/wasi-wasm32-st-release/lib/pkgconfig/spatialite.pc +12 -0
- package/e2e/main.c +38 -0
- package/e2e/run.mjs +89 -0
- package/package.json +40 -0
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# libspatialite.la - a libtool library file
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.6
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname=''
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names=''
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library='libspatialite.a'
|
|
15
|
+
|
|
16
|
+
# Linker flags that cannot go in dependency_libs.
|
|
17
|
+
inherited_linker_flags=''
|
|
18
|
+
|
|
19
|
+
# Libraries that this one depends upon.
|
|
20
|
+
dependency_libs=' -L/Users/bugra/Documents/cpp.js/ports/geos/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/proj/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/sqlite3/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/zlib/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/iconv/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/tiff/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/geos/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib -lpthread -ldl -lm -lgeos -lproj -lz /Users/bugra/Documents/cpp.js/ports/iconv/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib/libiconv.la /Users/bugra/Documents/cpp.js/ports/iconv/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib/libcharset.la -ltiff -ltiffxx -lc++ -lc++abi -lunwind -lsqlite3 -lwasi-emulated-signal -lwasi-emulated-process-clocks -lwasi-emulated-mman -lwasi-emulated-getpid -lgeos_c'
|
|
21
|
+
|
|
22
|
+
# Names of additional weak libraries provided by this library
|
|
23
|
+
weak_library_names=''
|
|
24
|
+
|
|
25
|
+
# Version information for libspatialite.
|
|
26
|
+
current=9
|
|
27
|
+
age=1
|
|
28
|
+
revision=0
|
|
29
|
+
|
|
30
|
+
# Is this an already installed library?
|
|
31
|
+
installed=yes
|
|
32
|
+
|
|
33
|
+
# Should we warn about portability when linking against -modules?
|
|
34
|
+
shouldnotlink=no
|
|
35
|
+
|
|
36
|
+
# Files to dlopen/dlpreopen
|
|
37
|
+
dlopen=''
|
|
38
|
+
dlpreopen=''
|
|
39
|
+
|
|
40
|
+
# Directory that this library needs to be installed in:
|
|
41
|
+
libdir='/Users/bugra/Documents/cpp.js/ports/spatialite/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib'
|
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# mod_spatialite.la - a libtool library file
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.6
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname=''
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names=''
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library='mod_spatialite.a'
|
|
15
|
+
|
|
16
|
+
# Linker flags that cannot go in dependency_libs.
|
|
17
|
+
inherited_linker_flags=''
|
|
18
|
+
|
|
19
|
+
# Libraries that this one depends upon.
|
|
20
|
+
dependency_libs=' -L/Users/bugra/Documents/cpp.js/ports/geos/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/proj/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/sqlite3/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/zlib/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/iconv/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/tiff/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -L/Users/bugra/Documents/cpp.js/ports/geos/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib -lpthread -ldl -lm -lgeos -lproj -lz /Users/bugra/Documents/cpp.js/ports/iconv/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib/libiconv.la /Users/bugra/Documents/cpp.js/ports/iconv/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib/libcharset.la -ltiff -ltiffxx -lc++ -lc++abi -lunwind -lsqlite3 -lwasi-emulated-signal -lwasi-emulated-process-clocks -lwasi-emulated-mman -lwasi-emulated-getpid -lgeos_c'
|
|
21
|
+
|
|
22
|
+
# Names of additional weak libraries provided by this library
|
|
23
|
+
weak_library_names=''
|
|
24
|
+
|
|
25
|
+
# Version information for mod_spatialite.
|
|
26
|
+
current=9
|
|
27
|
+
age=1
|
|
28
|
+
revision=0
|
|
29
|
+
|
|
30
|
+
# Is this an already installed library?
|
|
31
|
+
installed=yes
|
|
32
|
+
|
|
33
|
+
# Should we warn about portability when linking against -modules?
|
|
34
|
+
shouldnotlink=yes
|
|
35
|
+
|
|
36
|
+
# Files to dlopen/dlpreopen
|
|
37
|
+
dlopen=''
|
|
38
|
+
dlpreopen=''
|
|
39
|
+
|
|
40
|
+
# Directory that this library needs to be installed in:
|
|
41
|
+
libdir='/Users/bugra/Documents/cpp.js/ports/spatialite/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Package Information for pkg-config
|
|
2
|
+
|
|
3
|
+
prefix=/Users/bugra/Documents/cpp.js/ports/spatialite/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release
|
|
4
|
+
exec_prefix=${prefix}
|
|
5
|
+
libdir=${exec_prefix}/lib
|
|
6
|
+
includedir=${prefix}/include
|
|
7
|
+
|
|
8
|
+
Name: spatialite
|
|
9
|
+
Description: Spatial SQL database engine based on SQLite
|
|
10
|
+
Version: 5.1.0
|
|
11
|
+
Libs: -L${libdir} -lspatialite -lz -lgeos -lgeos_c -lproj -lsqlite3 -lz -liconv -lcharset -ltiff -ltiffxx -fwasm-exceptions -lc++ -lc++abi -lunwind -lsqlite3 /Users/bugra/Documents/cpp.js/ports/spatialite/wasi/.crossbind/build/Source-Release/wasi-wasm32-st-release/crossbind-wasi-stubs.o -lwasi-emulated-signal -lwasi-emulated-process-clocks -lwasi-emulated-mman -lwasi-emulated-getpid -L/Users/bugra/Documents/cpp.js/ports/geos/wasi/.crossbind/build/Source-Release/prebuilt/wasi-wasm32-st-release/lib -lgeos_c -L/Users/bugra/Documents/cpp.js/ports/sqlite3/wasi/dist/prebuilt/wasi-wasm32-st-release/lib -lm
|
|
12
|
+
Cflags: -I${includedir}
|
package/e2e/main.c
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#include <stdio.h>
|
|
2
|
+
#include <string.h>
|
|
3
|
+
#include <sqlite3.h>
|
|
4
|
+
#include <spatialite.h>
|
|
5
|
+
|
|
6
|
+
int main(void)
|
|
7
|
+
{
|
|
8
|
+
sqlite3 *db;
|
|
9
|
+
if (sqlite3_open(":memory:", &db) != SQLITE_OK) return 1;
|
|
10
|
+
void *cache = spatialite_alloc_connection();
|
|
11
|
+
spatialite_init_ex(db, cache, 0);
|
|
12
|
+
sqlite3_stmt *st;
|
|
13
|
+
if (sqlite3_prepare_v2(db, "SELECT ST_AsText(MakePoint(1, 2))", -1, &st, NULL) != SQLITE_OK) return 2;
|
|
14
|
+
if (sqlite3_step(st) != SQLITE_ROW) return 3;
|
|
15
|
+
const char *txt = (const char *)sqlite3_column_text(st, 0);
|
|
16
|
+
if (!txt || strcmp(txt, "POINT(1 2)") != 0) {
|
|
17
|
+
fprintf(stderr, "got: %s\n", txt ? txt : "(null)");
|
|
18
|
+
return 4;
|
|
19
|
+
}
|
|
20
|
+
printf("spatialite %s: PASS (%s)\n", spatialite_version(), txt);
|
|
21
|
+
sqlite3_finalize(st);
|
|
22
|
+
sqlite3_close(db);
|
|
23
|
+
spatialite_cleanup_ex(cache);
|
|
24
|
+
spatialite_shutdown();
|
|
25
|
+
return 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* wasi runtime stubs: no dynamic loading / fork on WASI */
|
|
29
|
+
void *dlopen(const char *f, int m) { (void)f; (void)m; return 0; }
|
|
30
|
+
char *dlerror(void) { return (char *)"no dynamic loading on WASI"; }
|
|
31
|
+
void *dlsym(void *h, const char *s) { (void)h; (void)s; return 0; }
|
|
32
|
+
int dlclose(void *h) { (void)h; return -1; }
|
|
33
|
+
int pthread_atfork(void (*a)(void), void (*b)(void), void (*c)(void)) { (void)a; (void)b; (void)c; return 0; }
|
|
34
|
+
|
|
35
|
+
/* The wasi sqlite3 is built with SQLITE_OMIT_LOAD_EXTENSION (no dlopen);
|
|
36
|
+
* spatialite references the toggle unconditionally - satisfy it, loading
|
|
37
|
+
* itself can never happen at runtime. */
|
|
38
|
+
int sqlite3_enable_load_extension(sqlite3 *db, int onoff) { (void)db; (void)onoff; return 0; }
|
package/e2e/run.mjs
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { execFileSync } from 'node:child_process';
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
import { existsSync, mkdtempSync, readFileSync, rmSync } from 'node:fs';
|
|
4
|
+
import { homedir, tmpdir } from 'node:os';
|
|
5
|
+
import { dirname, join, resolve } from 'node:path';
|
|
6
|
+
|
|
7
|
+
// Compile e2e/main.c against the shipped archives and assert the marker under wasmtime.
|
|
8
|
+
const P = 'wasi-wasm32-st-release';
|
|
9
|
+
const pkgDir = resolve(import.meta.dirname, '..');
|
|
10
|
+
|
|
11
|
+
let sdk = process.env.CROSSBIND_WASI_SDK_PATH;
|
|
12
|
+
if (!sdk) {
|
|
13
|
+
try { sdk = JSON.parse(readFileSync(join(homedir(), '.crossbind.json'), 'utf8')).WASI_SDK_PATH; } catch { /* unset */ }
|
|
14
|
+
}
|
|
15
|
+
if (!sdk || !existsSync(sdk)) {
|
|
16
|
+
console.log('SKIP: wasi-sdk not configured (CROSSBIND_WASI_SDK_PATH or ~/.crossbind.json WASI_SDK_PATH).');
|
|
17
|
+
process.exit(0);
|
|
18
|
+
}
|
|
19
|
+
if (!existsSync(join(sdk, 'share/wasi-sysroot/lib/wasm32-wasip3'))) {
|
|
20
|
+
console.log('SKIP: configured wasi-sdk has no wasm32-wasip3 sysroot (need wasi-sdk >= 34).');
|
|
21
|
+
process.exit(0);
|
|
22
|
+
}
|
|
23
|
+
try {
|
|
24
|
+
execFileSync('wasmtime', ['--version'], { stdio: 'ignore' });
|
|
25
|
+
} catch {
|
|
26
|
+
console.log('SKIP: wasmtime not installed (brew install wasmtime).');
|
|
27
|
+
process.exit(0);
|
|
28
|
+
}
|
|
29
|
+
const own = join(pkgDir, 'dist/prebuilt', P);
|
|
30
|
+
if (!existsSync(own)) {
|
|
31
|
+
console.log('SKIP: wasi prebuilt missing - run `pnpm build` first.');
|
|
32
|
+
process.exit(0);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Dep archives resolve through the dependency chain, so strict installs work.
|
|
36
|
+
const hop = (fromDir, name) => dirname(createRequire(join(fromDir, 'package.json')).resolve(`${name}/package.json`));
|
|
37
|
+
const depDist = (...names) => {
|
|
38
|
+
let dir = pkgDir;
|
|
39
|
+
for (const name of names) dir = hop(dir, name);
|
|
40
|
+
return join(dir, 'dist/prebuilt', P);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const includes = [
|
|
44
|
+
join(own, 'include'),
|
|
45
|
+
join(depDist('@crossbind/port-sqlite3-wasi'), 'include'),
|
|
46
|
+
];
|
|
47
|
+
const archives = [
|
|
48
|
+
join(own, 'lib', 'libspatialite.a'),
|
|
49
|
+
join(depDist('@crossbind/port-geos-wasi'), 'lib', 'libgeos_c.a'),
|
|
50
|
+
join(depDist('@crossbind/port-geos-wasi'), 'lib', 'libgeos.a'),
|
|
51
|
+
join(depDist('@crossbind/port-proj-wasi'), 'lib', 'libproj.a'),
|
|
52
|
+
join(depDist('@crossbind/port-sqlite3-wasi'), 'lib', 'libsqlite3.a'),
|
|
53
|
+
join(depDist('@crossbind/port-iconv-wasi'), 'lib', 'libiconv.a'),
|
|
54
|
+
join(depDist('@crossbind/port-iconv-wasi'), 'lib', 'libcharset.a'),
|
|
55
|
+
join(depDist('@crossbind/port-zlib-wasi'), 'lib', 'libz.a'),
|
|
56
|
+
join(depDist('@crossbind/port-proj-wasi', '@crossbind/port-tiff-wasi'), 'lib', 'libtiff.a'),
|
|
57
|
+
];
|
|
58
|
+
|
|
59
|
+
const work = mkdtempSync(join(tmpdir(), 'crossbind-wasi-e2e-'));
|
|
60
|
+
try {
|
|
61
|
+
const obj = join(work, 'main.o');
|
|
62
|
+
const wasm = join(work, 'main.wasm');
|
|
63
|
+
execFileSync(join(sdk, 'bin/clang'), [
|
|
64
|
+
'--target=wasm32-wasip3', '-c', join(pkgDir, 'e2e/main.c'), '-o', obj, '-O2',
|
|
65
|
+
'-D_WASI_EMULATED_SIGNAL', '-D_WASI_EMULATED_PROCESS_CLOCKS',
|
|
66
|
+
'-D_WASI_EMULATED_MMAN', '-D_WASI_EMULATED_GETPID',
|
|
67
|
+
...includes.map((i) => `-I${i}`),
|
|
68
|
+
], { stdio: 'inherit' });
|
|
69
|
+
execFileSync(join(sdk, 'bin/clang++'), [
|
|
70
|
+
'--target=wasm32-wasip3',
|
|
71
|
+
obj, ...archives,
|
|
72
|
+
'-fwasm-exceptions', '-mexception-handling',
|
|
73
|
+
'-mllvm', '-wasm-enable-sjlj', '-mllvm', '-wasm-use-legacy-eh=false',
|
|
74
|
+
'-lunwind', '-lsetjmp', '-lwasi-emulated-signal', '-lwasi-emulated-process-clocks',
|
|
75
|
+
'-lwasi-emulated-mman', '-lwasi-emulated-getpid',
|
|
76
|
+
'-o', wasm,
|
|
77
|
+
], { stdio: 'inherit' });
|
|
78
|
+
const out = execFileSync('wasmtime', [
|
|
79
|
+
'run', `--dir=${work}::/work`,
|
|
80
|
+
wasm,
|
|
81
|
+
], { encoding: 'utf8', timeout: 120000 });
|
|
82
|
+
process.stdout.write(out);
|
|
83
|
+
if (!out.includes(': PASS')) {
|
|
84
|
+
console.error('FAIL: PASS marker missing');
|
|
85
|
+
process.exit(1);
|
|
86
|
+
}
|
|
87
|
+
} finally {
|
|
88
|
+
rmSync(work, { recursive: true, force: true });
|
|
89
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crossbind/port-spatialite-wasi",
|
|
3
|
+
"version": "2.0.0-beta.50",
|
|
4
|
+
"nativeVersion": "5.1.0",
|
|
5
|
+
"description": "WASI build of the precompiled SpatiaLite (spatial SQLite extension) library, built with crossbind. Use it together with the main package @crossbind/port-spatialite.",
|
|
6
|
+
"homepage": "https://github.com/crossbind/crossbind/tree/main/ports/spatialite#readme",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/crossbind/crossbind.git"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"license": "MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"spatialite",
|
|
15
|
+
"libspatialite",
|
|
16
|
+
"sqlite",
|
|
17
|
+
"spatial",
|
|
18
|
+
"gis",
|
|
19
|
+
"crossbind",
|
|
20
|
+
"crossbind-package",
|
|
21
|
+
"webassembly",
|
|
22
|
+
"wasi"
|
|
23
|
+
],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@crossbind/port-spatialite": "^2.0.0-beta.50",
|
|
26
|
+
"@crossbind/port-geos-wasi": "^2.0.0-beta.50",
|
|
27
|
+
"@crossbind/port-proj-wasi": "^2.0.0-beta.50",
|
|
28
|
+
"@crossbind/port-sqlite3-wasi": "^2.0.0-beta.50",
|
|
29
|
+
"@crossbind/port-zlib-wasi": "^2.0.0-beta.50",
|
|
30
|
+
"@crossbind/port-iconv-wasi": "^2.0.0-beta.50"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"crossbind": "^2.0.0-beta.50"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "crossbind build -p wasi",
|
|
37
|
+
"e2e": "node e2e/run.mjs",
|
|
38
|
+
"clear": "rm -rf .crossbind dist"
|
|
39
|
+
}
|
|
40
|
+
}
|