contraction-hierarchy-js
Version:
Contraction Hierarchy
60 lines (59 loc) • 1.67 kB
JSON
{
"name": "contraction-hierarchy-js",
"version": "2.0.0",
"description": "Contraction Hierarchy",
"main": "index.js",
"module": "main.js",
"type": "module",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"test": "cd test && node routing-tests.js",
"test:all": "npm run test:api && npm run test:regression && npm run test:performance && npm run test:legacy",
"test:api": "cd test && node api-examples.test.js",
"test:regression": "cd test && node regression.test.js",
"test:performance": "cd test && node performance.test.js",
"test:legacy": "npm run test",
"test:watch": "cd test && find . -name '*.test.js' | entr -r node /_",
"build": "rollup -c",
"prepublishOnly": "npm run build",
"proto": "pbf src/structure.proto > src/structure.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/royhobbstn/contraction-hierarchy-js.git"
},
"keywords": [
"contraction",
"hierarchy",
"dijkstra",
"algorithm"
],
"author": "Daniel Trone",
"license": "MIT",
"bugs": {
"url": "https://github.com/royhobbstn/contraction-hierarchy-js/issues"
},
"homepage": "https://github.com/royhobbstn/contraction-hierarchy-js#readme",
"dependencies": {
"geokdbush": "^2.0.1",
"kdbush": "^4.0.2",
"nanoclone": "^0.2.1",
"pbf": "^3.3.0"
},
"devDependencies": {
"ngraph.graph": "0.0.18",
"ngraph.path": "1.1.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"rollup": "^4.9.6"
},
"files": [
"src",
"index.js",
"main.js",
"dist"
]
}