{
    "name": "terra-route",
    "version": "0.0.17",
    "description": "A library for routing along GeoJSON LineString networks",
    "scripts": {
        "docs": "typedoc",
        "docs:serve": "serve ./docs",
        "test": "jest --silent=false",
        "benchmark": "tsx benchmark/benchmark.ts",
        "benchmark:loop": "for i in {1..8}; do npm run -s benchmark | awk '/GRAPH ROUTING PERFORMANCE/{p=1} p && /Terra Route took/{print $0; p=0}'; done",
        "analyze": "npx fta-cli ./src --config-path fta.config.json",
        "build": "microbundle",
        "watch": "microbundle --watch --format modern",
        "unused": "knip",
        "lint": "eslint --config eslint.config.mjs",
        "lint:quiet": "eslint --quiet --config eslint.config.mjs",
        "lint:fix": "eslint --fix --config eslint.config.mjs",
        "lint:fix:quiet": "eslint --fix --quiet --config eslint.config.mjs",
        "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
        "format:quiet": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" --log-level=silent",
        "release": "TYPE=$(node ./scripts/bump.mjs) && commit-and-tag-version -c ./scripts/versionrc.cjs -t terra-route@ --release-as $TYPE",
        "release:dryrun": "TYPE=$(node ./scripts/bump.mjs) && commit-and-tag-version -c ./scripts/versionrc.cjs -t terra-route@ --dry-run --release-as $TYPE"
    },
    "type": "module",
    "source": "src/terra-route.ts",
    "exports": {
        "types": "./dist/terra-route.d.ts",
        "require": "./dist/terra-route.cjs",
        "default": "./dist/terra-route.modern.js"
    },
    "types": "./dist/terra-route.d.ts",
    "main": "./dist/terra-route.cjs",
    "module": "./dist/terra-route.module.js",
    "unpkg": "./dist/terra-route.umd.js",
    "author": "James Milner",
    "license": "MIT",
    "repository": "JamesLMilner/terra-route",
    "devDependencies": {
        "@commitlint/cli": "17.1.2",
        "@commitlint/config-conventional": "17.1.0",
        "@conventional-changelog/git-client": "^1.0.1",
        "commit-and-tag-version": "^12.5.0",
        "conventional-recommended-bump": "^10.0.0",
        "@eslint/json": "^0.11.0",
        "@eslint/markdown": "^6.3.0",
        "@types/geojson": "^7946.0.16",
        "@types/jest": "^29.5.14",
        "@types/lodash": "^4.17.13",
        "@typescript-eslint/eslint-plugin": "8.16.0",
        "@typescript-eslint/parser": "8.16.0",
        "eslint": "8.57.1",
        "eslint-config-prettier": "9.1.0",
        "eslint-plugin-prettier": "5.2.1",
        "fta-cli": "^3.0.0",
        "geojson-path-finder": "^2.0.2",
        "jest": "^29.7.0",
        "knip": "^5.80.2",
        "microbundle": "0.15.1",
        "ngraph.graph": "^20.0.1",
        "ngraph.path": "^1.5.0",
        "serve": "^14.2.4",
        "ts-jest": "^29.2.5",
        "tsx": "^4.19.3",
        "typedoc": "^0.28.1",
        "typescript": "^5.8.3"
    },
    "keywords": [
        "geojson",
        "linestring",
        "routing",
        "pathfinding",
        "network",
        "geospatial",
        "astar",
        "djikstra",
        "graph",
        "pathfinder",
        "path",
        "ngraph.graph"
    ],
    "knip": {
        "$schema": "https://unpkg.com/knip@5/schema.json",
        "entry": [
            "src/terra-route.ts"
        ],
        "project": [
            "tsconfig.json"
        ],
        "include": [
            "files",
            "types"
        ],
        "ignore": [
            "coverage/**",
            "docs/**",
            "dist/**",
            "scratch/**"
        ],
        "ignoreDependencies": [
            "geojson-path-finder",
            "ngraph.graph",
            "ngraph.path"
        ],
        "jest": {
            "config": "jest.config.js"
        }
    },
    "typedocOptions": {
        "entryPoints": [
            "src/terra-route.ts"
        ],
        "excludeExternals": true,
        "exclude": [
            "benchmark/",
            "coverage/",
            "dist/",
            "node_modules/"
        ],
        "out": "docs",
        "skipErrorChecking": true,
        "sourceLinkExternal": true
    },
    "commitlint": {
        "extends": [
            "@commitlint/config-conventional"
        ]
    }
}
