Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 4.42 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 4.42 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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@maplat/ui",
"version": "1.2.0",
"description": "Maplat is the cool Historical Map/Illustrated Map Viewer.\nIt can transform each map coordinates with nonlinear but homeomorphic projection and makes possible that the maps can collaborate with GPS/accurate maps, without distorting original maps.",
"type": "module",
"main": "dist/maplat_ui.umd.js",
"module": "dist/maplat_ui.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/maplat_ui.es.js",
"default": "./dist/maplat_ui.es.js"
},
"./element": {
"types": "./dist/element/index.d.ts",
"import": "./dist/element/index.js",
"default": "./dist/element/index.js"
},
"./dist/*": "./dist/*",
"./src/*": "./src/*",
"./package.json": "./package.json"
},
"files": [
"src/",
"dist/",
"legacy/",
"less/",
"assets/"
],
"scripts": {
"dev": "concurrently \"pnpm watch:sw\" \"vite --host\"",
"build:sw": "node scripts/build-sw.js",
"watch:sw": "node scripts/build-sw.js --watch",
"build": "cross-env BUILD_MODE=package tsc && cross-env BUILD_MODE=package vite build && pnpm build:sw",
"build:demo": "pnpm build:sw && vite build",
"preview": "vite preview",
"test": "vitest",
"typecheck": "tsc --noEmit",
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"lint:eslint": "eslint \"{src,spec,demo}/**/*.{ts,js}\" --fix",
"lint:prettier": "prettier \"./{src,spec,demo}/**/*.{ts,js}\" --write",
"dev:e2e": "vite --port 5176 --strictPort",
"pretest:e2e": "pnpm exec playwright install chromium && vite build --config e2e/fixtures/vite.probe.config.js && vite build --config e2e/fixtures/vite.probe-t5.config.js",
"test:e2e": "pnpm exec playwright test",
"test:e2e:ci": "pnpm exec playwright test --config playwright-ci.config.ts",
"test:e2e:m18-t6": "pnpm exec playwright test e2e/m18-t6-marker-list-layer-toggle.spec.ts",
"test:e2e:m1-t4": "pnpm exec playwright test e2e/m1-t4-sanitize-browser.spec.ts",
"pretest:e2e:m1-t4": "vite build --config e2e/fixtures/vite.probe.config.js",
"pretest:e2e:m1-t5": "vite build --config e2e/fixtures/vite.probe-t5.config.js",
"test:e2e:m1-t5": "pnpm exec playwright test --config playwright-m1-t5.config.ts",
"verify:dist-freshness": "node scripts/m1-t5-hotfix-1/verify-dist-freshness.mjs",
"verify:dist-reproducible": "node scripts/m1-t5-hotfix-1/verify-dist-reproducible.mjs",
"verify:m10:identity": "node scripts/oct26-m10/verify-ghpages-identity.mjs",
"verify:m10:switch": "node scripts/oct26-m10/verify-switch.mjs",
"verify:m10:vendored": "node scripts/oct26-m10/verify-vendored-images.mjs",
"verify:nov26-m5:demo": "node scripts/nov26-m5/verify-demo-query-allowlist.mjs",
"prepublishOnly": "pnpm run typecheck && pnpm run test && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/code4history/Maplat.git"
},
"keywords": [
"warp",
"GIS"
],
"author": "Kohei Otsuka, Code for History",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/code4history/Maplat/issues"
},
"homepage": "https://github.com/code4history/Maplat/wiki",
"engines": {
"npm": "use-pnpm-please",
"pnpm": ">=9.0.0"
},
"dependencies": {
"@c4h/quyuan": "^1.1.1",
"@c4h/weiwudi": "^1.1.1",
"@maplat/core": "^1.2.0",
"qrcode": "^1.5.4",
"workbox-core": "^7.4.0",
"workbox-expiration": "^7.4.0",
"workbox-precaching": "^7.4.0",
"workbox-routing": "^7.4.0",
"workbox-strategies": "^7.4.0"
},
"peerDependencies": {
"mapbox-gl": "^2.0.0 || ^3.0.0",
"maplibre-gl": "^5.0.0 || ^6.0.0",
"ol": "^9.0.0 || ^10.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@maplat/transform": "^1.0.0",
"@playwright/test": "^1.62.1",
"@types/node": "^26.6.5",
"@types/ol": "^7.0.0",
"@types/qrcode": "^1.5.6",
"bootstrap-sass": "^3.4.3",
"concurrently": "^10.0.6",
"cross-env": "^10.1.0",
"esbuild": "^0.28.1",
"eslint": "^10.10.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.13.0",
"jsdom": "^30.0.1",
"maplibre-gl": "6.9.0",
"ol": "^10.10.0",
"prettier": "^3.9.6",
"sass": "^1.97.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.66.0",
"vite": "^7.3.7",
"vite-plugin-dts": "^5.1.0",
"vitest": "^5.0.4",
"workbox-build": "^7.4.0",
"workbox-window": "^7.4.0"
}
}