Skip to content

Commit 3ba8a36

Browse files
authored
Merge pull request #6 from cherniavskii/package.json
add package.json
2 parents 6adf341 + 210c1c3 commit 3ba8a36

File tree

4 files changed

+47
-2
lines changed

4 files changed

+47
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.idea
1+
.idea
2+
node_modules

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
88
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
99
<script src="https://unpkg.com/leaflet-doubletapdrag"></script>
10-
<script src="../Leaflet.DoubleTapDragZoom.js"></script>
10+
<script src="https://unpkg.com/leaflet-doubletapdragzoom"></script>
1111
<style>
1212
body, html {
1313
margin: 0;

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "leaflet-doubletapdragzoom",
3+
"version": "0.1.0",
4+
"description": "Leaflet plugin that implements double-tap-and-drag zoom feature for zooming in / out with one hand",
5+
"main": "Leaflet.DoubleTapDragZoom.js",
6+
"directories": {
7+
"doc": "docs"
8+
},
9+
"scripts": {},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/cherniavskii/Leaflet.DoubleTapDragZoom.git"
13+
},
14+
"peerDependencies": {
15+
"leaflet": "~1.0.0"
16+
},
17+
"keywords": [
18+
"leaflet",
19+
"maps",
20+
"zoom"
21+
],
22+
"author": "cherniavskii",
23+
"license": "MIT",
24+
"bugs": {
25+
"url": "https://github.com/cherniavskii/Leaflet.DoubleTapDragZoom/issues"
26+
},
27+
"homepage": "https://github.com/cherniavskii/Leaflet.DoubleTapDragZoom#readme",
28+
"dependencies": {
29+
"leaflet-doubletapdrag": "^0.1.0"
30+
}
31+
}

0 commit comments

Comments
 (0)