@antv/layout
Version:
graph layout algorithm
138 lines (137 loc) • 3.6 kB
JSON
{
"name": "@antv/layout",
"version": "2.0.0",
"description": "graph layout algorithm",
"main": "dist/index.min.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"unpkg": "dist/index.min.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./dist/index.js"
},
"./worker": {
"import": "./lib/worker.js",
"default": "./dist/worker.js"
},
"./lib/*": "./lib/*"
},
"files": [
"src",
"package.json",
"dist",
"lib",
"LICENSE",
"README.md"
],
"sideEffects": false,
"keywords": [
"graph",
"layout",
"algorithm",
"antv"
],
"dependencies": {
"@antv/event-emitter": "^0.1.3",
"@antv/expr": "^1.0.2",
"@antv/graphlib": "^2.0.0",
"@antv/util": "^3.3.2",
"comlink": "^4.4.1",
"d3-force": "^3.0.0",
"d3-force-3d": "^3.0.5",
"d3-octree": "^1.0.2",
"d3-quadtree": "^3.0.1",
"dagre": "^0.8.5",
"ml-matrix": "^6.10.4",
"tslib": "^2.8.1"
},
"devDependencies": {
"@antv/g": "^5.18.25",
"@antv/g-canvas": "^1.11.27",
"@antv/g-svg": "^1.10.28",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-react": "^7.7.4",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@swc/jest": "^0.2.39",
"@types/d3-force": "^3.0.4",
"@types/d3-quadtree": "^2.0.6",
"@types/dagre": "^0.7.52",
"@types/jest": "^30.0.0",
"babel-loader": "^8.0.6",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.29.1",
"gh-pages": "^6.3.0",
"husky": "^7.0.4",
"interactjs": "^1.10.27",
"jest": "^30.2.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^30.2.0",
"jest-random-mock": "^1.0.0",
"lil-gui": "^0.21.0",
"limit-size": "^0.1.4",
"lint-staged": "^10.5.4",
"open-cli": "^8.0.0",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.4",
"rimraf": "^6.1.2",
"rollup": "^4.54.0",
"rollup-plugin-dts": "^6.3.0",
"svgo": "^4.0.0",
"ts-loader": "^7.0.3",
"typescript": "^4.0.3",
"vite": "^7.3.0",
"webpack": "^5.38.1",
"webpack-cli": "^5.0.2",
"workerize-loader": "^2.0.2",
"xmlserializer": "^0.6.1"
},
"scripts": {
"build:watch": "rollup -c --watch",
"build": "npm run clean && rollup -c && npm run size",
"ci": "npm run build && npm run test",
"clean": "rimraf dist lib",
"dev": "vite",
"prepublishOnly": "npm run build",
"publish:alpha": "npm publish --tag alpha",
"size": "limit-size",
"test:coverage:open": "open-cli coverage/lcov-report/index.html",
"test:coverage": "jest --coverage",
"test": "jest",
"deploy": "npm --prefix site run build && gh-pages -d site/doc_build",
"lint": "tsc --noEmit"
},
"publishConfig": {
"access": "public",
"tag": "beta",
"registry": "https://registry.npmjs.org/"
},
"limit-size": [
{
"gzip": true,
"limit": "100 Kb",
"path": "dist/index.min.js"
},
{
"limit": "500 Kb",
"path": "dist/index.min.js"
}
],
"homepage": "https://github.com/antvis/layout",
"bugs": {
"url": "https://github.com/antvis/layout/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/layout.git"
},
"license": "MIT",
"author": "antv"
}