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

66 lines
1.6 KiB
JSON

{
"name": "leaflet-web-components",
"version": "0.1.0",
"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": true,
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rm -rf dist && tsc --outDir dist",
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
"lint": "oxlint src test",
"format": "oxfmt '*.md' 'docs/**/*.md' 'src/**/*.{ts,js,json,md}' 'test/**/*.ts'",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
},
"keywords": [
"leaflet",
"web-components",
"maps"
],
"author": "buddy",
"license": "MIT",
"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"
}
}