Files
Orienteering/package.json
T

29 lines
1011 B
JSON

{
"name": "orienteering",
"version": "1.0.0",
"private": true,
"description": "Tries to find the shortest path through a set of given points, i.e. solve the traveling salesman problem",
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build:emscripten": "cd native && em++ -target=wasm64 -O3 -lembind -sEXPORT_ES6 -sASSERTIONS -sEXPORTED_RUNTIME_METHODS=FS -sALLOW_MEMORY_GROWTH -sMAXIMUM_MEMORY=17179869184 --emit-tsd salesman.d.ts -o salesman.js salesman.cpp",
"build:normal": "tsc && vite build",
"build": "npm run build:emscripten && npm run build:normal",
"preview": "vite preview"
},
"devDependencies": {
"@types/node": "^25.0.3",
"@types/terraformer__wkt": "^2.0.3",
"typescript": "^5.9.3",
"vite": "^7.3.0"
},
"dependencies": {
"@terraformer/wkt": "^2.2.1",
"@types/geojson": "^7946.0.16",
"@types/leaflet": "^1.9.21",
"haversine-distance": "^1.2.4",
"leaflet": "^1.9.4",
"openrouteservice-js": "^0.4.1"
}
}