@artsdatabanken/nbic-map-component 0.3.0

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 ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@artsdatabanken/nbic-map-component",
3
+ "version": "0.3.0",
4
+ "description": "Shared map component built on OpenLayers",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "dev": "vite --config playground/vite.config.js",
21
+ "playground:build": "vite build --config playground/vite.config.js",
22
+ "playground:preview": "vite preview --config playground/vite.config.js",
23
+ "build": "tsup src/index.ts --format esm,cjs --dts",
24
+ "clean": "rimraf dist || rm -rf dist",
25
+ "typecheck": "tsc --noEmit",
26
+ "lint": "eslint \"src/**/*.{ts,tsx}\" \"playground/**/*.{ts,tsx}\"",
27
+ "lint:fix": "eslint . --fix",
28
+ "test": "vitest run",
29
+ "test:watch": "vitest",
30
+ "prepare": "npm run build"
31
+ },
32
+ "keywords": [
33
+ "openlayers",
34
+ "map",
35
+ "gis",
36
+ "nbic",
37
+ "typescript"
38
+ ],
39
+ "author": "",
40
+ "license": "MIT",
41
+ "dependencies": {
42
+ "@turf/area": "^7.2.0",
43
+ "@turf/buffer": "^7.2.0",
44
+ "@turf/kinks": "^7.2.0",
45
+ "ol": "^10.6.1",
46
+ "proj4": "^2.19.10",
47
+ "zod": "^4.1.5"
48
+ },
49
+ "devDependencies": {
50
+ "@eslint/js": "^9.34.0",
51
+ "@vitest/coverage-v8": "^3.2.4",
52
+ "eslint": "^9.34.0",
53
+ "eslint-config-prettier": "^10.1.8",
54
+ "globals": "^16.3.0",
55
+ "prettier": "^3.6.2",
56
+ "tsup": "^8.5.0",
57
+ "typescript": "^5.9.2",
58
+ "typescript-eslint": "^8.41.0",
59
+ "vite": "^6.3.5",
60
+ "vitest": "^3.2.4"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "git+https://github.com/Artsdatabanken/nbic-map-component.git"
65
+ },
66
+ "bugs": {
67
+ "url": "https://github.com/Artsdatabanken/nbic-map-component/issues"
68
+ },
69
+ "homepage": "https://github.com/Artsdatabanken/nbic-map-component#readme"
70
+ }