maplibre-gl-compass
Version:
A heading-up compass for MapLibre GL JS
59 lines (58 loc) • 1.65 kB
JSON
{
"name": "maplibre-gl-compass",
"version": "0.3.1",
"description": "A heading-up compass for MapLibre GL JS",
"type": "module",
"files": [
"dist"
],
"main": "./dist/maplibre-gl-compass.umd.cjs",
"module": "./dist/maplibre-gl-compass.js",
"types": "./dist/maplibre-gl-compass.d.ts",
"exports": {
".": {
"import": "./dist/maplibre-gl-compass.js",
"require": "./dist/maplibre-gl-compass.umd.cjs"
},
"./style.css": "./dist/maplibre-gl-compass.css"
},
"scripts": {
"dev": "vite",
"build:lib": "tsc && vite build --config vite.config.lib.js",
"build:app": "tsc && vite build --config vite.config.app.js",
"build": "npm run build:lib && npm run build:app",
"preview": "vite preview",
"lint": "eslint src/*.ts src/**/*.ts tests/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"test": "jest"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@jest/globals": "^29.7.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"maplibre-gl": "^4.7.1",
"pmtiles": "^4.0.1",
"prettier": "^3.4.1",
"ts-jest": "^29.2.5",
"typescript": "~5.6.2",
"typescript-eslint": "^8.16.0",
"vite": "^6.0.1",
"vite-plugin-dts": "^4.3.0"
},
"repository": {
"type": "git",
"url": "https://github.com/qazsato/maplibre-gl-compass.git"
},
"keywords": [
"MapLibre GL JS",
"Compass"
],
"author": "qazsato <qazsato@gmail.com>",
"license": "MIT"
}