-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.3 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.3 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
{
"name": "@maplat/core",
"version": "0.13.1",
"description": "Maplat is the cool Historical Map/Illustrated Map Viewer API.\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_core.umd.js",
"module": "./dist/maplat_core.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/maplat_core.js"
}
},
"engines": {
"pnpm": ">=9"
},
"sideEffects": true,
"files": [
"src/",
"dist/",
"parts/"
],
"pnpm": {
"overrides": {
"@microsoft/api-extractor": "7.58.0"
}
},
"scripts": {
"dev": "vite --host",
"build": "cross-env BUILD_MODE=package vite build",
"build:demo": "vite build",
"build:with-typecheck": "npm run typecheck && cross-env BUILD_MODE=package vite build",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"pretest:e2e": "playwright install",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:ci": "playwright test --config=playwright-ci.config.ts",
"lint": "eslint src spec --fix",
"format": "prettier --write \"src/**/*.{ts,js}\" \"spec/**/*.{ts,js}\"",
"preview": "vite preview",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build",
"version:bump": "node scripts/bump-version.js",
"version:sync": "node scripts/sync-version.js",
"publish:npm": "node scripts/publish-npm.js",
"publish:npm:dry": "node scripts/publish-npm.js --dry-run",
"publish:all": "node scripts/publish-all.js",
"publish:all:dry": "node scripts/publish-all.js --dry-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/code4history/MaplatCore.git"
},
"keywords": [
"warp",
"GIS"
],
"author": "Kohei Otsuka, Code for History",
"license": "Maplat Limited License 1.1",
"bugs": {
"url": "https://github.com/code4history/MaplatCore/issues"
},
"homepage": "https://github.com/code4history/MaplatCore/wiki",
"dependencies": {
"@c4h/weiwudi": "^0.3.0",
"@maplat/transform": "0.5.2",
"@turf/turf": "^7.3.1",
"lodash.template": "^4.5.0",
"whatwg-fetch": "^3.6.20"
},
"peerDependencies": {
"mapbox-gl": "^1.0.0 || ^2.0.0 || ^3.0.0",
"maplibre-gl": "^3.0.0 || ^4.0.0",
"ol": "^9.0.0 || ^10.0.0"
},
"peerDependenciesMeta": {
"mapbox-gl": {
"optional": true
},
"maplibre-gl": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.57.0",
"@types/geojson": "^7946.0.16",
"@types/lodash.template": "^4.5.3",
"@types/node": "^25.5.1",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@vitest/coverage-v8": "^3.2.4",
"ajv": "^8.17.1",
"cross-env": "^10.1.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"jsdom": "^27.4.0",
"ol": "^10.8.0",
"prettier": "^3.7.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.0",
"vite": "^7.3.0",
"vite-plugin-dts": "^4.5.4",
"vitest": "^3.2.4"
}
}