You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
leaflet-components/package.json

85 lines
2.2 KiB
JSON

{
"name": "leaflet-web-components",
"version": "0.1.1",
"description": "LeafletJS as Web Components",
"main": "dist/index.npm.js",
"module": "dist/index.npm.js",
"types": "dist/index.npm.d.ts",
"exports": {
".": {
"types": "./dist/index.npm.d.ts",
"import": "./dist/index.npm.js"
},
"./elements": {
"types": "./dist/elements/index.d.ts",
"import": "./dist/elements/index.js"
},
"./elements/*.js": {
"types": "./dist/elements/*.d.ts",
"import": "./dist/elements/*.js"
},
"./components/*.js": {
"types": "./dist/components/*.d.ts",
"import": "./dist/components/*.js"
},
"./package.json": "./package.json"
},
"sideEffects": [
"./dist/index.js",
"./dist/index.npm.js",
"./dist/components/*.js"
],
"files": [
"dist",
"src",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rm -rf dist && tsc --outDir dist",
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
"lint": "oxlint src test scripts",
"format": "oxfmt '*.md' 'docs/**/*.md' 'src/**/*.{ts,js,json,md}' 'test/**/*.ts' 'scripts/**/*.mjs'",
"test": "vitest run",
"test:watch": "vitest",
"sync-version": "node scripts/sync-version.mjs",
"version": "npm run sync-version && git add jsr.json",
"prepublishOnly": "npm run sync-version && npm run typecheck && npm run test && npm run build"
},
"keywords": [
"leaflet",
"leafletjs",
"web-components",
"custom-elements",
"webcomponents",
"maps",
"map"
],
"author": "Buddy Sandidge",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://git.buddy.wtf/lib/leaflet-components.git"
},
"bugs": {
"url": "https://git.buddy.wtf/lib/leaflet-components/issues"
},
"homepage": "https://git.buddy.wtf/lib/leaflet-components#readme",
"type": "module",
"dependencies": {
"@types/geojson": "^7946.0.16",
"@types/leaflet": "^1.9.21"
},
"peerDependencies": {
"leaflet": "^1.9.4"
},
"devDependencies": {
"jsdom": "^30.0.1",
"leaflet": "^1.9.4",
"oxfmt": "^0.66.0",
"oxlint": "^1.79.0",
"typescript": "^7.0.2",
"vitest": "^4.1.11"
}
}