UNPKG

@esengine/pathfinding

Version:

寻路算法库,支持A*、广度优先等算法,适用于Cocos Creator、Laya等游戏引擎

71 lines (70 loc) 1.96 kB
{ "name": "@esengine/pathfinding", "version": "1.0.8", "description": "寻路算法库,支持A*、广度优先等算法,适用于Cocos Creator、Laya等游戏引擎", "main": "dist/pathfinding.cjs", "module": "dist/pathfinding.mjs", "types": "dist/pathfinding.d.ts", "exports": { ".": { "import": "./dist/pathfinding.mjs", "default": "./dist/pathfinding.cjs" } }, "files": [ "dist/**/*", "README.md", "LICENSE" ], "keywords": [ "pathfinding", "astar", "a-star", "algorithm", "game", "cocos", "laya", "typescript", "navigation", "grid" ], "directories": { "lib": "lib" }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:mocha": "mocha --recursive --reporter tap --growl", "type-check": "tsc --noEmit", "lint": "npm run eslint", "eslint": "eslint src --ext .ts", "clean": "rimraf bin dist", "build:ts": "tsc", "prebuild": "npm run clean", "build": "npm run build:ts && rollup -c", "build:watch": "tsc --watch", "rebuild": "npm run clean && npm run build", "dev": "npm run build:ts && rollup -c --watch", "ci": "npm run type-check && npm run test && npm run build", "prepublishOnly": "npm run ci", "publish:patch": "npm version patch && npm run build && npm publish" }, "author": "yhh", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.7.0", "ts-jest": "^29.1.2", "rimraf": "^5.0.0", "rollup": "^4.42.0", "rollup-plugin-dts": "^6.2.1", "typedoc": "^0.25.13", "typescript": "^5.4.5" } }