@graphty/algorithms
Version:
Graph algorithms library for browser environments implemented in TypeScript
112 lines (111 loc) • 3.15 kB
JSON
{
"name": "@graphty/algorithms",
"version": "1.2.0",
"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",
"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/node": "^20.19.2",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.29.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.12.0",
"happy-dom": "^18.0.1",
"husky": "^9.1.7",
"knip": "^5.61.3",
"playwright": "^1.53.0",
"semantic-release": "^24.2.7",
"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"
}
}