-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
92 lines (92 loc) · 3.38 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "open-vector-tile",
"version": "1.7.4",
"description": "This library reads/writes Open Vector Tiles",
"keywords": [
"vector",
"map",
"tile",
"open",
"S2",
"spec"
],
"type": "module",
"types": "./dist/index.d.ts",
"typescript": {
"main": "lib/index.ts"
},
"main": "dist/index.js",
"exports": {
".": "./dist/index.js"
},
"scripts": {
"lint+build+test+docs": "bun run lint && bun run build && bun run test && bun run docs",
"lint": "eslint src tests",
"lint:fix": "bun run lint -- --fix",
"prettier": "bunx prettier src test tools benchmarks --check",
"prettier:fix": "bunx prettier -- --write",
"format": "bunx prettier:fix && bun run lint:fix",
"build": "rm -rf dist && mkdir dist && bun build:rust && rm -f -- tsconfig.tsbuildinfo && tsc",
"build:rust": "bun build:rust:cargo && bun build:rust:snip && bun build:rust:optimize && bun build:rust:ts",
"build:rust:cargo": "RUSTFLAGS=\"-Zfmt-debug=none\" cargo build --target wasm32-unknown-unknown --release --workspace --package rust-wasm",
"build:rust:optimize": "wasm-opt -Oz --vacuum -o target/wasm32-unknown-unknown/release/optimized.wasm target/wasm32-unknown-unknown/release/open_vector_tile_wasm.wasm",
"build:rust:snip": "wasm-snip --snip-rust-fmt-code --snip-rust-panicking-code -o target/wasm32-unknown-unknown/release/optimized.wasm target/wasm32-unknown-unknown/release/open_vector_tile_wasm.wasm",
"build:rust:strip": "wasm-strip target/wasm32-unknown-unknown/release/optimized.wasm",
"build:rust:ts": "bun run build-wasm.ts",
"build:rust:twiggy": "twiggy top target/wasm32-unknown-unknown/release/optimized.wasm",
"types:bundle": "bun run types:build && node scripts/types.mjs",
"prepublishOnly": "bun run lint+build+test+docs",
"cargo:publish": "cargo publish -p open-vector-tile",
"package-check": "package-check",
"test:dev": "bun test --watch --coverage",
"test": "bun test",
"test:coverage": "bun run test --coverage",
"docs": "bunx typedoc",
"dependencies": "bunx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > ./assets/dependency-graph.svg"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Open-S2/open-vector-tile.git"
},
"author": "Craig OConnor",
"license": "MIT",
"bugs": {
"url": "https://github.com/Open-S2/open-vector-tile/issues"
},
"files": [
"assets",
"dist",
"vector-tile-spec"
],
"homepage": "https://github.com/Open-S2/open-vector-tile#readme",
"devDependencies": {
"@mapbox/point-geometry": "^1.1.0",
"@mapbox/vector-tile": "^2.0.3",
"@maplibre/maplibre-tile-spec": "^0.0.1-alpha.3",
"@skypack/package-check": "^0.2.2",
"@types/bun": "^1.1.18",
"@types/node": "^22.10.7",
"@types/pbf": "^3.0.5",
"ajv": "^8.17.1",
"coveralls": "^3.1.1",
"dependency-cruiser": "^16.9.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jsdoc": "^50.6.2",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-tsdoc": "^0.4.0",
"fflate": "^0.8.2",
"markdown-table": "^3.0.4",
"pbf": "^4.0.1",
"prettier": "^3.4.2",
"s2json-spec": "^1.7.3",
"sharp": "^0.33.5",
"typedoc": "^0.27.6",
"typedoc-plugin-coverage": "^3.4.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.21.0"
},
"dependencies": {
"pbf-ts": "^1.1.0"
}
}