-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 1.65 KB
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
42
43
44
45
46
47
48
49
50
51
{
"name": "@maplibre/mlt-wasm",
"version": "0.1.14",
"description": "WebAssembly-backed MapLibre Tile (MLT) decoder",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist",
"/pkg"
],
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/maplibre/maplibre-tile-spec/#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/maplibre/maplibre-tile-spec"
},
"bugs": {
"url": "https://github.com/maplibre/maplibre-tile-spec/issues"
},
"keywords": [
"maplibre",
"mlt",
"vector-tile",
"wasm",
"webassembly",
"gis"
],
"scripts": {
"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",
"build:wasm-gz": "gzip --best --no-name pkg/mlt_wasm_bg.wasm --keep --force && du -sh pkg/*.wasm*",
"build:ts": "tsc",
"build": "npm run build:wasm && npm run build:ts && npm run build:wasm-gz",
"test": "vitest --coverage --coverage.reportOnFailure --run",
"test:watch": "vitest --coverage --coverage.reportOnFailure --ui",
"bench": "node --expose-gc --no-liftoff --no-wasm-tier-up node_modules/.bin/vitest bench"
},
"dependencies": {
"@mapbox/point-geometry": "1.1.0"
},
"devDependencies": {
"@maplibre/vt-pbf": "4.3.0",
"@types/node": "^24.10.2",
"@vitest/coverage-v8": "^4.0.1",
"@vitest/ui": "^4.0.18",
"typescript": "^5.9.3",
"vite-plugin-top-level-await": "^1.6.0",
"vite-plugin-wasm": "^3.5.0",
"vitest": "^4.0.1"
}
}