UNPKG

@graphty/algorithms

Version:

Graph algorithms library for browser environments implemented in TypeScript

127 lines (126 loc) 3.9 kB
{ "name": "@graphty/algorithms", "version": "1.3.1", "description": "Graph algorithms library for browser environments implemented in TypeScript", "author": "Adam Powers <apowers@ato.ms>", "main": "dist/algorithms.js", "type": "module", "exports": { ".": { "import": "./dist/algorithms.js", "types": "./dist/algorithms.d.ts" } }, "types": "dist/algorithms.d.ts", "files": [ "dist/", "src/", "README.md", "LICENSE" ], "directories": { "example": "examples" }, "scripts": { "test": "vitest", "test:ui": "vitest --ui", "test:run": "vitest run --project=default", "test:coverage": "vitest run --coverage", "test:browser": "vitest --project=browser", "test:all": "vitest run --project=default --project=browser", "test:performance": "tsx test/helpers/run-performance-regression.ts", "test:performance:update": "tsx test/helpers/run-performance-regression.ts --update-baselines", "benchmark": "tsx src/benchmark-all-algorithms.ts", "benchmark:quick": "tsx src/benchmark-all-algorithms.ts --quick", "benchmark:report": "tsx scripts/generate-performance-report.ts", "benchmark:validation": "tsx src/optimized/benchmark-validation.ts", "benchmark:comprehensive": "tsx src/optimized/benchmark-comprehensive.ts", "memory:profile": "tsx test/helpers/memory-profiler.ts", "lint": "eslint && tsc --noEmit", "lint:fix": "eslint --fix", "lint:pkg": "knip", "lint:all": "npm run lint && npm run lint:pkg", "typecheck": "tsc --noEmit", "prepare": "husky", "build": "tsc", "build:bundle": "node scripts/build-bundle.js", "build:all": "npm run build && npm run build:bundle", "build:gh-pages": "npm run build:bundle && node scripts/build-gh-pages.js", "build:watch": "tsc --watch", "dev": "tsc --watch", "examples": "node examples/run-all-examples.js", "examples:run": "node examples/run-all-examples.js", "examples:html": "npm run build:bundle && vite", "serve": "npm run build:bundle && vite", "commit": "cz", "ready:commit": "npm run build && npm run lint && npm run test:all", "watch": "tsc --watch" }, "repository": { "type": "git", "url": "git+https://github.com/graphty-org/algorithms.git" }, "keywords": [ "graph", "algorithms", "typescript", "browser", "graph-theory", "network-analysis", "centrality", "community-detection", "shortest-path", "graph-traversal" ], "license": "MIT", "publishConfig": { "access": "public", "provenance": true }, "bugs": { "url": "https://github.com/graphty-org/algorithms/issues" }, "homepage": "https://github.com/graphty-org/algorithms#readme", "engines": { "node": ">=18.19.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/js": "^9.29.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@stylistic/eslint-plugin": "^4.4.1", "@types/benchmark": "^2.1.5", "@types/node": "^20.19.9", "@vitest/browser": "^3.2.4", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "benchmark": "^2.1.4", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.29.0", "eslint-plugin-simple-import-sort": "^12.1.1", "gh-pages": "^6.3.0", "globals": "^15.12.0", "happy-dom": "^18.0.1", "husky": "^9.1.7", "knip": "^5.61.3", "playwright": "^1.53.0", "semantic-release": "^25.0.2", "ts-node": "^10.9.2", "tsx": "^4.20.3", "typescript": "^5.8.3", "typescript-eslint": "^8.34.1", "vite": "^7.0.5", "vitest": "^3.2.4" }, "dependencies": { "pupt": "^1.3.2", "typedfastbitset": "^0.6.1" } }