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