yio-map 0.8.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,72 @@
1
+ {
2
+ "name": "yio-map",
3
+ "description": "Webcomponent yio-map following open-wc recommendations",
4
+ "license": "MIT",
5
+ "author": "yio-map",
6
+ "version": "0.8.0",
7
+ "type": "module",
8
+ "main": "dist/yio-map.umd.js",
9
+ "module": "dist/yio-map.js",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "exports": {
14
+ ".": {
15
+ "import": "./dist/yio-map.js",
16
+ "types": "./dist/index.d.ts"
17
+ },
18
+ "./YioMap.js": {
19
+ "import": "./dist/YioMap.js",
20
+ "types": "./dist/YioMap.d.ts"
21
+ }
22
+ },
23
+ "scripts": {
24
+ "start": "vite",
25
+ "build": "vite build && vite -c vite.config-umd.js build && tsc src/index.js --outDir dist --skipLibCheck --allowJS --declaration --declarationMap --emitDeclarationOnly",
26
+ "prepublish": "npm run build",
27
+ "lint": "eslint --ext .js,.html . && prettier \"**/*.(js|html)\" --check --ignore-path .gitignore",
28
+ "format": "eslint --ext .js,.html . --fix && prettier \"**/*.(js|html)\" --write --ignore-path .gitignore",
29
+ "prepare": "husky",
30
+ "pretest": "tsc --noEmit && npx playwright install chromium-headless-shell",
31
+ "test": "vitest run --silent",
32
+ "test:watch": "npm run pretest && vitest watch",
33
+ "storybook": "storybook dev -p 6006",
34
+ "storybook:build": "storybook build"
35
+ },
36
+ "dependencies": {
37
+ "lit": "^3.1.4"
38
+ },
39
+ "peerDependencies": {
40
+ "ol": "^10.5.0",
41
+ "ol-mapbox-style": "^13.0.1"
42
+ },
43
+ "devDependencies": {
44
+ "@chromatic-com/storybook": "^3.2.4",
45
+ "@storybook/addon-essentials": "^8.5.8",
46
+ "@storybook/blocks": "^8.5.8",
47
+ "@storybook/test": "^8.5.8",
48
+ "@storybook/web-components": "^8.5.8",
49
+ "@storybook/web-components-vite": "^8.5.8",
50
+ "@vitest/browser": "^3.0.6",
51
+ "eslint": "^9.21.0",
52
+ "eslint-config-flat-gitignore": "^2.1.0",
53
+ "eslint-config-prettier": "^10.0.1",
54
+ "eslint-plugin-html": "^8.1.2",
55
+ "eslint-plugin-storybook": "^0.11.3",
56
+ "husky": "^9.0.11",
57
+ "lint-staged": "^15.2.7",
58
+ "playwright": "^1.50.1",
59
+ "prettier": "^3.5.2",
60
+ "rollup-plugin-peer-deps-external": "^2.2.4",
61
+ "storybook": "^8.6.7",
62
+ "typescript": "^5.7.3",
63
+ "vite": "^6.2.2",
64
+ "vitest": "^3.0.6"
65
+ },
66
+ "lint-staged": {
67
+ "*.js": [
68
+ "eslint --fix",
69
+ "prettier --write"
70
+ ]
71
+ }
72
+ }