1 | {
|
2 | "name": "@antv/layout",
|
3 | "version": "0.1.15",
|
4 | "description": "graph layout algorithm",
|
5 | "main": "lib/index.js",
|
6 | "module": "es/index.js",
|
7 | "types": "lib/index.d.ts",
|
8 | "unpkg": "dist/layout.min.js",
|
9 | "files": [
|
10 | "es",
|
11 | "lib",
|
12 | "dist"
|
13 | ],
|
14 | "keywords": [
|
15 | "graph",
|
16 | "layout",
|
17 | "algorithm",
|
18 | "antv"
|
19 | ],
|
20 | "scripts": {
|
21 | "clean": "rimraf es lib dist",
|
22 | "lint:es": "eslint --ext .js --fix",
|
23 | "lint:ts": "tslint -c tslint.json -p tsconfig.json --fix",
|
24 | "lint": "npm run lint:ts && npm run lint:es",
|
25 | "build:esm": "tsc --module esnext --target es2015 --outDir ./es",
|
26 | "build:cjs": "tsc --module commonjs --target es5 --outDir ./lib",
|
27 | "build:umd": "webpack --config webpack.config.js --mode production",
|
28 | "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd",
|
29 | "build:watch": "npm build:esm --w",
|
30 | "precommit": "lint-staged",
|
31 | "release": "release-it",
|
32 | "test": "jest",
|
33 | "coverage": "jest --coverage",
|
34 | "test-live": "DEBUG_MODE=1 jest --watch __tests__/g6/fa2-g6-spec"
|
35 | },
|
36 | "lint-staged": {
|
37 | "*.js": [
|
38 | "eslint --fix"
|
39 | ],
|
40 | "src/**/*.ts": [
|
41 | "tslint -c tslint.json -p ./tsconfig.json --fix"
|
42 | ]
|
43 | },
|
44 | "dependencies": {
|
45 | "@antv/g-webgpu": "0.5.5",
|
46 | "d3-force": "^2.0.1",
|
47 | "dagre": "^0.8.5",
|
48 | "ml-matrix": "^6.5.0"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@antv/g-webgpu-compiler": "0.5.5",
|
52 | "@antv/g6": "^4.0.3",
|
53 | "@babel/core": "*",
|
54 | "@babel/polyfill": "^7.12.1",
|
55 | "@babel/preset-env": "*",
|
56 | "@babel/preset-typescript": "*",
|
57 | "@types/d3-force": "^2.1.0",
|
58 | "@types/dagre": "^0.7.44",
|
59 | "@types/jest": "^25.2.1",
|
60 | "babel-jest": "*",
|
61 | "babel-loader": "^8.2.2",
|
62 | "eslint": "^7.11.0",
|
63 | "eslint-config-airbnb-base": "^14.0.0",
|
64 | "eslint-config-prettier": "^6.7.0",
|
65 | "eslint-plugin-import": "^2.18.2",
|
66 | "jest": "*",
|
67 | "jest-electron": "^0.1.7",
|
68 | "jest-extended": "^0.11.2",
|
69 | "lint-staged": "^10.2.2",
|
70 | "release-it": "^14.0.1",
|
71 | "rimraf": "^3.0.0",
|
72 | "ts-jest": "^24.1.0",
|
73 | "ts-loader": "^8.0.17",
|
74 | "tslint": "^6.1.3",
|
75 | "tslint-config-airbnb": "^5.11.2",
|
76 | "tslint-config-prettier": "^1.18.0",
|
77 | "tslint-eslint-rules": "^5.4.0",
|
78 | "typescript": "^4.0.3",
|
79 | "webpack": "^5.23.0",
|
80 | "webpack-bundle-analyzer": "^4.4.0",
|
81 | "webpack-cli": "^4.5.0",
|
82 | "webpack-dev-server": "^3.11.2"
|
83 | },
|
84 | "release-it": {
|
85 | "git": {
|
86 | "commitMessage": ":sparkles: Release ${version}"
|
87 | },
|
88 | "github": {
|
89 | "release": true
|
90 | },
|
91 | "hooks": {
|
92 | "before:init": [
|
93 | "yarn run build"
|
94 | ]
|
95 | }
|
96 | },
|
97 | "contributors": [],
|
98 | "license": "MIT",
|
99 | "homepage": "https://github.com/antvis/layout",
|
100 | "bugs": {
|
101 | "url": "https://github.com/antvis/layout/issues"
|
102 | },
|
103 | "repository": {
|
104 | "type": "git",
|
105 | "url": "https://github.com/antvis/layout.git"
|
106 | },
|
107 | "publishConfig": {
|
108 | "access": "public",
|
109 | "registry": "https://registry.npmjs.org"
|
110 | }
|
111 | }
|