mapbox-gl-compare
Version:
Swipe and sync between two maps
59 lines (58 loc) • 1.43 kB
JSON
{
"name": "mapbox-gl-compare",
"version": "0.6.0",
"description": "Swipe and sync between two maps",
"main": "index.js",
"type": "module",
"exports": {
".": {
"import": "./index.js",
"require": "./dist/mapbox-gl-compare.js"
},
"./dist/mapbox-gl-compare.css": "./dist/mapbox-gl-compare.css"
},
"files": [
"dist",
"index.js",
"style.css"
],
"directories": {
"example": "example"
},
"scripts": {
"start": "vite",
"prepublishOnly": "npm run build",
"build": "cp style.css dist/mapbox-gl-compare.css && rollup -c",
"test": "vitest",
"lint": "eslint --no-eslintrc -c .eslintrc index.js",
"docs": "documentation build index.js --format=md > API.md"
},
"repository": {
"type": "git",
"url": "git://github.com/mapbox/mapbox-gl-compare.git"
},
"keywords": [
"mapbox",
"mapboxgl",
"ui"
],
"author": "Mapbox",
"license": "ISC",
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@vitest/browser": "^4.1.9",
"@vitest/browser-playwright": "^4.1.9",
"documentation": "^14.0.0",
"eslint": "^8.22.0",
"mapbox-gl": "^3.24.0",
"playwright": "^1.61.0",
"rollup": "^4.61.1",
"vite": "^8.0.16",
"vitest": "^4.1.9"
},
"dependencies": {
"@mapbox/mapbox-gl-sync-move": "^0.3.1"
}
}