path-of-least-regret
Version:
Lightweight 2D polygon navmesh pathfinding: triangulation + A* + funnel + smoothing.
72 lines (71 loc) • 1.71 kB
JSON
{
"name": "path-of-least-regret",
"version": "0.1.0",
"description": "Lightweight 2D polygon navmesh pathfinding: triangulation + A* + funnel + smoothing.",
"license": "MIT",
"author": { "name": "Jeroen de Cloe" },
"repository": {
"type": "git",
"url": "git+https://github.com/gefrituurdeaugurk/path-of-least-regret.git"
},
"bugs": {
"url": "https://github.com/gefrituurdeaugurk/path-of-least-regret/issues"
},
"homepage": "https://github.com/gefrituurdeaugurk/path-of-least-regret#readme",
"keywords": [
"navmesh",
"pathfinding",
"a-star",
"funnel",
"polygon",
"geometry",
"game-dev",
"2d"
],
"type": "module",
"main": "dist/cjs/index.cjs",
"module": "lib/api.js",
"types": "lib/api.d.ts",
"exports": {
".": {
"types": "./lib/api.d.ts",
"import": "./lib/api.js",
"require": "./dist/cjs/index.cjs"
},
"./math": {
"import": "./lib/math.js",
"require": "./dist/cjs/index.cjs"
},
"./triangulate": {
"import": "./lib/triangulate.js",
"require": "./dist/cjs/index.cjs"
},
"./navmesh": {
"import": "./lib/navmesh.js",
"require": "./dist/cjs/index.cjs"
},
"./helpers": {
"import": "./lib/helpers.js",
"require": "./dist/cjs/index.cjs"
},
"./validate": {
"import": "./lib/validate.js",
"require": "./dist/cjs/index.cjs"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"lib",
"dist/cjs",
"LICENSE",
"README.md"
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "node scripts/build.cjs"
},
"devDependencies": {
"esbuild": "^0.21.5"
}
}