forked from w8r/Leaflet.draw.drag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "leaflet-draw-drag",
"version": "0.1.2",
"description": "Drag feature functionality for Leaflet.draw",
"main": "index.js",
"scripts": {
"start": "npm run watch & serve -p 3001",
"watch": "watchify -v -d example/js/app.js -o example/js/bundle.js",
"build-js": "cat ./node_modules/leaflet-path-drag/dist/L.Path.Drag-src.js ./src/Polygon.Centroid.js ./src/EditToolbar.Edit.js ./src/Edit.SimpleShape.Drag.js ./src/Edit.Circle.Drag.js ./src/Edit.Rectangle.Drag.js ./src/Edit.Poly.Drag.js > ./dist/Leaflet.draw.drag-src.js",
"compress": "uglifyjs ./dist/Leaflet.draw.drag-src.js -o ./dist/Leaflet.draw.drag.js -m",
"build": "npm run build-js && npm run compress",
"release": "git push origin master && git checkout gh-pages && git merge master && git push origin gh-pages && git checkout master && npm publish"
},
"keywords": [
"leaflet",
"draw",
"drag",
"polygon"
],
"author": "Alexander Milevski <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/w8r/Leaflet.draw.drag"
},
"license": "MIT",
"dependencies": {
"leaflet": "^0.7.3",
"leaflet-draw": "^0.2.3",
"leaflet-path-drag": "^0.1.8"
},
"devDependencies": {
"browserify": "^8.1.1",
"serve": "^1.4.0",
"uglify-js": "^2.3.6",
"watchify": "^2.2.1"
}
}