UNPKG

mapboxgl-legend

Version:

Mapbox-GL plugin that automatically draws a legend from layer styles

69 lines (68 loc) 1.85 kB
{ "name": "mapboxgl-legend", "version": "1.16.0", "description": "Mapbox-GL plugin that automatically draws a legend from layer styles", "type": "module", "main": "./dist/index.umd.js", "module": "./dist/index.es.js", "browser": "./dist/index.umd.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.umd.js", "types": "./dist/index.d.ts" }, "./dist/style.css": { "import": "./dist/style.css", "require": "./dist/style.css" } }, "files": [ "dist" ], "scripts": { "lint": "eslint src && stylelint 'src/**/*.scss'", "test": "vitest --coverage", "build": "vitest run && vite build", "prepare": "npm run build", "dev": "vite" }, "keywords": [ "mapbox", "mapboxgl", "plugin", "legend", "style" ], "author": "Marc Vilella <mvilella@obsa.ad> (https://github.com/markusand)", "repository": { "type": "git", "url": "git+https://github.com/markusand/mapboxgl-legend.git" }, "bugs": { "url": "https://github.com/markusand/mapboxgl-legend/issues" }, "homepage": "https://github.com/markusand/mapboxgl-legend", "license": "ISC", "devDependencies": { "@types/node": "^22.10.2", "@typescript-eslint/eslint-plugin": "^6.9.1", "@typescript-eslint/parser": "^6.9.1", "@vitest/coverage-v8": "^1.2.1", "autoprefixer": "^10.4.14", "c8": "^9.1.0", "eslint": "^8.37.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-import-resolver-typescript": "^3.5.4", "jsdom": "^23.2.0", "mapbox-gl": "^3.1.0", "sass": "^1.60.0", "stylelint": "^16.2.0", "stylelint-config-standard-scss": "^13.0.0", "typescript": "^5.0.3", "vite": "^5.0.12", "vite-plugin-dts": "^4.4.0", "vitest": "^1.2.1" } }