mahal_map 1.7.2 → 2.0.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 CHANGED
@@ -1,73 +1,73 @@
1
- {
2
- "name": "mahal_map",
3
- "version": "1.7.2",
4
- "description": "mahal_map",
5
- "keywords": [
6
- "map",
7
- "javascript",
8
- "API",
9
- "MapLibre GL JS"
10
- ],
11
- "homepage": "https://github.com/ioyandasoz/mahal_map#readme",
12
- "bugs": {
13
- "url": "https://github.com/ioyandasoz/mahal_map/issues"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/ioyandasoz/mahal_map.git"
18
- },
19
- "license": "ISC",
20
- "author": "io",
21
- "type": "commonjs",
22
- "engines": {
23
- "node": ">=18"
24
- },
25
- "exports": {
26
- ".": {
27
- "import": "./dist/index.mjs",
28
- "require": "./dist/index.js"
29
- },
30
- "./sdk": "./dist/mahal_map.sdk.js"
31
- },
32
- "files": [
33
- "dist",
34
- "README.md",
35
- "LICENSE"
36
- ],
37
- "main": "dist/index.js",
38
- "module": "dist/index.mjs",
39
- "types": "dist/index.d.ts",
40
- "scripts": {
41
- "test": "vitest run",
42
- "build": "tsup src/index.ts --format cjs,esm --dts --minify --sourcemap false --out-dir dist",
43
- "build:sdk": "esbuild src/sdk.ts --bundle --minify --global-name=MahalMap --format=iife --outfile=dist/mahal_map.sdk.js",
44
- "build:all": "npm run build && npm run build:sdk",
45
- "obfuscate": "javascript-obfuscator dist --output dist --config obfuscator-config.json",
46
- "prepublishOnly": "npm run build:all && npm run obfuscate",
47
- "dev": "tsup src/index.ts --format cjs,esm --dts --watch --out-dir dist"
48
- },
49
- "dependencies": {
50
- "axios": "^1.8.4",
51
- "tslib": "^2.8.1"
52
- },
53
- "peerDependencies": {
54
- "@grammaps/maps3d-web": ">=0.1.0 <1.0.0",
55
- "maplibre-gl": ">=5"
56
- },
57
- "peerDependenciesMeta": {
58
- "@grammaps/maps3d-web": {
59
- "optional": true
60
- }
61
- },
62
- "devDependencies": {
63
- "@types/maplibre-gl": "^1.13.2",
64
- "esbuild": "^0.25.0",
65
- "javascript-obfuscator": "^4.1.1",
66
- "jsdom": "^25.0.1",
67
- "ts-node": "^10.9.2",
68
- "ts-node-dev": "^2.0.0",
69
- "tsup": "^8.5.0",
70
- "typescript": "^5.9.3",
71
- "vitest": "^3.0.0"
72
- }
73
- }
1
+ {
2
+ "name": "mahal_map",
3
+ "version": "2.0.0",
4
+ "description": "mahal_map",
5
+ "keywords": [
6
+ "map",
7
+ "javascript",
8
+ "API",
9
+ "MapLibre GL JS"
10
+ ],
11
+ "homepage": "https://github.com/ioyandasoz/mahal_map#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/ioyandasoz/mahal_map/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/ioyandasoz/mahal_map.git"
18
+ },
19
+ "license": "ISC",
20
+ "author": "io",
21
+ "type": "commonjs",
22
+ "engines": {
23
+ "node": ">=18"
24
+ },
25
+ "exports": {
26
+ ".": {
27
+ "import": "./dist/index.mjs",
28
+ "require": "./dist/index.js"
29
+ },
30
+ "./sdk": "./dist/mahal_map.sdk.js"
31
+ },
32
+ "files": [
33
+ "dist",
34
+ "README.md",
35
+ "LICENSE"
36
+ ],
37
+ "main": "dist/index.js",
38
+ "module": "dist/index.mjs",
39
+ "types": "dist/index.d.ts",
40
+ "scripts": {
41
+ "test": "vitest run",
42
+ "build": "tsup src/index.ts --format cjs,esm --dts --minify --sourcemap false --out-dir dist",
43
+ "build:sdk": "esbuild src/sdk.ts --bundle --minify --global-name=MahalMap --format=iife --outfile=dist/mahal_map.sdk.js",
44
+ "build:all": "npm run build && npm run build:sdk",
45
+ "obfuscate": "javascript-obfuscator dist --output dist --config obfuscator-config.json",
46
+ "prepublishOnly": "npm run build:all && npm run obfuscate",
47
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch --out-dir dist"
48
+ },
49
+ "dependencies": {
50
+ "axios": "^1.8.4",
51
+ "tslib": "^2.8.1"
52
+ },
53
+ "peerDependencies": {
54
+ "@grammaps/maps3d-web": ">=0.5.0 <1.0.0",
55
+ "maplibre-gl": ">=3 <7"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "@grammaps/maps3d-web": {
59
+ "optional": true
60
+ }
61
+ },
62
+ "devDependencies": {
63
+ "@types/maplibre-gl": "^1.13.2",
64
+ "esbuild": "^0.25.0",
65
+ "javascript-obfuscator": "^4.1.1",
66
+ "jsdom": "^25.0.1",
67
+ "ts-node": "^10.9.2",
68
+ "ts-node-dev": "^2.0.0",
69
+ "tsup": "^8.5.0",
70
+ "typescript": "^5.9.3",
71
+ "vitest": "^3.0.0"
72
+ }
73
+ }