-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
90 lines (90 loc) · 2.46 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
{
"name": "@antv/graphlib",
"version": "2.0.4",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"unpkg": "dist/index.umd.min.js",
"sideEffects": false,
"files": [
"lib",
"esm",
"dist",
"src",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "rimraf lib esm dist",
"doc": "typedoc src/index.ts --plugin typedoc-plugin-markdown",
"lint-staged": "lint-staged",
"lint": "eslint ./src ./__tests__ && prettier ./src ./__tests__ --check ",
"fix": "eslint ./src ./__tests__ --fix && prettier ./src ./__tests__ --write ",
"size": "limit-size",
"test": "jest --coverage -i",
"build:umd": "rimraf ./dist && rollup -c && npm run size",
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
"build": "run-p build:*",
"bundle-vis": "cross-env BUNDLE_VIS=1 run-p build:umd",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@antv/event-emitter": "^0.1.3"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"limit-size": "^0.1.4",
"lint-staged": "^13.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"rollup": "^2.79.2",
"rollup-plugin-polyfill-node": "^0.8.0",
"rollup-plugin-typescript2": "^0.35.0",
"rollup-plugin-visualizer": "^5.12.0",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^4.9.5"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"limit-size": [
{
"path": "dist/index.umd.min.js",
"limit": "5 Kb",
"gzip": true
}
],
"homepage": "https://github.com/antvis/graphlib",
"bugs": {
"url": "https://github.com/antvis/graphlib/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/graphlib.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"license": "MIT"
}