@americana/diplomat 0.1.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,53 @@
1
+ {
2
+ "name": "@americana/diplomat",
3
+ "version": "0.1.0",
4
+ "description": "Internationalization plugin for MapLibre GL JS",
5
+ "keywords": [
6
+ "maplibre-gl-js",
7
+ "internationalization",
8
+ "internationalisation",
9
+ "i18n",
10
+ "localization",
11
+ "localisation",
12
+ "l10n",
13
+ "language",
14
+ "translation",
15
+ "bilingual"
16
+ ],
17
+ "homepage": "https://github.com/osm-americana/maplibre-gl-diplomat#readme",
18
+ "bugs": {
19
+ "url": "https://github.com/osm-americana/maplibre-gl-diplomat/issues"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/osm-americana/maplibre-gl-diplomat.git"
24
+ },
25
+ "license": "CC0-1.0",
26
+ "author": "OpenStreetMap Americana contributors",
27
+ "directories": {
28
+ "test": "test"
29
+ },
30
+ "files": [
31
+ "dist/",
32
+ "docs/"
33
+ ],
34
+ "type": "module",
35
+ "main": "index.js",
36
+ "scripts": {
37
+ "build": "esbuild index.js --bundle --outdir=dist",
38
+ "clean": "shx rm -rf dist build",
39
+ "format": "prettier --write --list-different .",
40
+ "start": "shx cp -r example dist && open 'http://127.0.0.1:8000/example/#map=4/40.5/-94&language=got' && esbuild index.js --bundle --outdir=dist --servedir=dist --watch",
41
+ "test": "node --import ./test/setup.mjs --test 'index.spec.mjs'"
42
+ },
43
+ "peerDependencies": {
44
+ "maplibre-gl": "^5.13.0"
45
+ },
46
+ "devDependencies": {
47
+ "@maplibre/maplibre-gl-style-spec": "^24.3.1",
48
+ "esbuild": "0.27.0",
49
+ "open": "^11.0.0",
50
+ "prettier": "^3.6.2",
51
+ "shx": "^0.4.0"
52
+ }
53
+ }