28 lines
981 B
JSON
28 lines
981 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/terraformer__wkt": "^2.0.3",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.2.2"
|
|
},
|
|
"dependencies": {
|
|
"@terraformer/wkt": "^2.2.2",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/leaflet": "^1.9.22",
|
|
"haversine-distance": "^1.2.4",
|
|
"leaflet": "^1.9.4",
|
|
"openrouteservice-js": "^0.4.1"
|
|
}
|
|
}
|