-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.67 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "maplibre-gl-swipe",
"version": "0.7.0",
"description": "A MapLibre GL plugin for swiping layers to compare them side by side",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./react": {
"import": {
"types": "./dist/types/react.d.ts",
"default": "./dist/react.mjs"
},
"require": {
"types": "./dist/types/react.d.ts",
"default": "./dist/react.cjs"
}
},
"./style.css": "./dist/maplibre-gl-swipe.css"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"*.css"
],
"scripts": {
"dev": "vite",
"build": "tsc -p tsconfig.build.json && vite build",
"build:examples": "vite build --config vite.examples.config.ts",
"preview": "vite preview",
"test": "vitest --run",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
"prepublishOnly": "npm run build"
},
"keywords": [
"maplibre",
"maplibre-gl",
"map",
"swipe",
"compare",
"layers",
"slider",
"react",
"typescript"
],
"author": "Qiusheng Wu <giswqs@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/opengeos/maplibre-gl-swipe.git"
},
"homepage": "https://github.com/opengeos/maplibre-gl-swipe",
"bugs": {
"url": "https://github.com/opengeos/maplibre-gl-swipe/issues"
},
"peerDependencies": {
"maplibre-gl": ">=3.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.0",
"@types/node": "^22.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/ui": "^2.1.0",
"eslint": "^9.17.0",
"jsdom": "^25.0.0",
"maplibre-gl": "^5.14.0",
"prettier": "^3.4.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vite-plugin-dts": "^4.3.0",
"vitest": "^2.1.0"
}
}