@maptoolkit/maps 11.0.0-beta.1

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,83 @@
1
+ {
2
+ "type": "module",
3
+ "name": "@maptoolkit/maps",
4
+ "version": "11.0.0-beta.1",
5
+ "description": "Maps JS by Maptoolkit powered by MapLibre GL JS",
6
+ "author": "Maptoolkit - Toursprung GmbH",
7
+ "license": "BSD-3-Clause",
8
+ "scripts": {
9
+ "build": "npm run build-js && npm run build-css",
10
+ "build-js": "rollup -c --environment BUILD:production",
11
+ "watch-js": "rollup -c -w --environment BUILD:development",
12
+ "build-css": "postcss --use postcss-import -o dist/maptoolkit.css src/index.css",
13
+ "watch-css": "postcss -w --use postcss-import -o dist/maptoolkit.css src/index.css",
14
+ "test": "playwright test",
15
+ "test:headed": "playwright test --headed",
16
+ "test:ui": "playwright test --ui",
17
+ "lint": "eslint ./src/",
18
+ "pretty": "prettier ./src/**/*.{ts,js,json,css} ./examples/**/*.html ./test/**/*.ts --write",
19
+ "generate-docs": "typedoc",
20
+ "serve": "http-server . -p 8080 -c-1"
21
+ },
22
+ "files": [
23
+ "dist/*"
24
+ ],
25
+ "main": "dist/maptoolkit.mjs",
26
+ "types": "dist/maptoolkit.d.ts",
27
+ "style": "dist/maptoolkit.css",
28
+ "exports": {
29
+ ".": {
30
+ "import": "./dist/maptoolkit.mjs",
31
+ "types": "./dist/maptoolkit.d.ts"
32
+ },
33
+ "./css": {
34
+ "import": "./dist/maptoolkit.css"
35
+ }
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/maptoolkit/maps-js.git"
40
+ },
41
+ "devDependencies": {
42
+ "@playwright/test": "^1.56.1",
43
+ "@rollup/plugin-commonjs": "^28.0.3",
44
+ "@rollup/plugin-json": "^6.1.0",
45
+ "@rollup/plugin-node-resolve": "^16.0.1",
46
+ "@rollup/plugin-replace": "^6.0.2",
47
+ "@rollup/plugin-terser": "^0.4.4",
48
+ "@rollup/plugin-typescript": "^12.1.2",
49
+ "@types/jest": "^30.0.0",
50
+ "@typescript-eslint/eslint-plugin": "^8.32.0",
51
+ "@typescript-eslint/parser": "^8.32.0",
52
+ "eslint": "^9.26.0",
53
+ "eslint-config-prettier": "^10.1.5",
54
+ "eslint-plugin-import": "^2.31.0",
55
+ "http-server": "^14.1.1",
56
+ "jest": "^29.7.0",
57
+ "jest-environment-jsdom": "^30.2.0",
58
+ "postcss": "^8.5.3",
59
+ "postcss-cli": "^11.0.1",
60
+ "postcss-import": "^16.1.0",
61
+ "prettier": "^3.5.3",
62
+ "rollup": "^4.40.0",
63
+ "rollup-plugin-dts": "^6.2.1",
64
+ "rollup-plugin-esbuild": "^6.2.1",
65
+ "ts-jest": "^29.4.5",
66
+ "tslib": "^2.8.1",
67
+ "typedoc": "^0.28.3",
68
+ "typedoc-plugin-markdown": "^4.6.3",
69
+ "typedoc-plugin-missing-exports": "^4.0.0",
70
+ "typescript": "^5.8.3"
71
+ },
72
+ "dependencies": {
73
+ "@mapbox/mapbox-gl-draw": "^1.5.0",
74
+ "@mapbox/togeojson": "^0.16.2",
75
+ "@maplibre/maplibre-gl-style-spec": "^23.3.0",
76
+ "@turf/difference": "^7.2.0",
77
+ "@turf/distance": "^7.2.0",
78
+ "@turf/length": "^7.2.0",
79
+ "@turf/union": "^7.2.0",
80
+ "maplibre-gl": "^5.10.0",
81
+ "pbf": "^4.0.1"
82
+ }
83
+ }