-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
39 lines (39 loc) · 1.77 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
38
39
{
"name": "graph-draw",
"description": "tessellation of planar graphs with convex polygons",
"author": "Manuel Baclet <mbaclet@gmail.com>",
"version": "2.0.3",
"main": "src/graph-draw.js",
"scripts": {
"build:docs": "cp ./node_modules/leaflet-hash/leaflet-hash.js ./docs/js/leaflet-hash.js && cp ./node_modules/leaflet/dist/leaflet.css ./docs/css/leaflet.css && cp ./node_modules/leaflet/dist/leaflet.js ./docs/js/leaflet.js && cp ./node_modules/leaflet-pixi-overlay/L.PixiOverlay.min.js ./docs/js/L.PixiOverlay.min.js && cp ./node_modules/pixi.js/dist/pixi.min.js ./docs/js/pixi.min.js && cp ./dist/graph-draw-bundle.min.js ./docs/js/graph-draw-bundle.min.js",
"build:js": "./node_modules/browserify/bin/cmd.js ./src/graph-draw.js --standalone graphDraw > ./dist/graph-draw-bundle.js && ./node_modules/browserify/bin/cmd.js --external libtess ./src/graph-draw.js --standalone graphDraw > ./dist/graph-draw.js",
"build:uglify": "./node_modules/uglify-js/bin/uglifyjs ./dist/graph-draw-bundle.js -m -c -o ./dist/graph-draw-bundle.min.js && ./node_modules/uglify-js/bin/uglifyjs ./dist/graph-draw.js -m -c -o ./dist/graph-draw.min.js",
"build": "npm run build:js && npm run build:uglify"
},
"repository": {
"type": "git",
"url": "https://github.com/manubb/graph-draw.git"
},
"keywords": [
"planar graph",
"tessellation",
"graph",
"polyline"
],
"license": "MIT",
"homepage": "https://github.com/manubb/graph-draw#readme",
"devDependencies": {
"browserify": "^17.0.0",
"leaflet": "^1.3.1",
"leaflet-hash": "^0.2.1",
"leaflet-pixi-overlay": "^1.5.0",
"pixi.js": "^4.7.3",
"uglify-js": "^3.3.21"
},
"bugs": {
"url": "https://github.com/manubb/graph-draw/issues"
},
"dependencies": {
"libtess": "^1.2.2"
}
}