@maplibre/mlt-wasm 0.1.28 → 0.1.30
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/package.json +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maplibre/mlt-wasm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"description": "WebAssembly-backed MapLibre Tile (MLT) decoder",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,10 +28,12 @@
|
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build:wasm": "RUSTFLAGS=\"-Zunstable-options -Cpanic=immediate-abort -Ctarget-feature=+simd128\" CARGO_UNSTABLE_BUILD_STD=std,panic_abort RUSTUP_TOOLCHAIN=nightly wasm-pack build --target bundler --weak-refs --out-dir pkg",
|
|
31
|
+
"build:wasm-coverage": "CARGO_INCREMENTAL=0 RUSTFLAGS=\"-Cinstrument-coverage -Cdebuginfo=0 -Zno-profiler-runtime --emit=llvm-ir -Ccodegen-units=1\" RUSTUP_TOOLCHAIN=nightly wasm-pack build --dev --target bundler --weak-refs --out-dir pkg -- --features coverage",
|
|
31
32
|
"build:wasm-gz": "gzip --best --no-name pkg/mlt_wasm_bg.wasm --keep --force && du -sh pkg/*.wasm*",
|
|
32
33
|
"build:ts": "tsc",
|
|
33
34
|
"build": "npm run build:wasm && npm run build:ts && npm run build:wasm-gz",
|
|
34
35
|
"test": "vitest --coverage --coverage.reportOnFailure --run",
|
|
36
|
+
"test:bless": "vitest --run --update",
|
|
35
37
|
"test:watch": "vitest --coverage --coverage.reportOnFailure --ui",
|
|
36
38
|
"bench": "node --expose-gc --no-liftoff --no-wasm-tier-up node_modules/.bin/vitest bench"
|
|
37
39
|
},
|