-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 2.84 KB
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/gpt-vis",
"version": "1.0.1",
"description": "Components for GPTs, generative AI, and LLM projects. Not only UI Components.",
"keywords": [
"antv",
"GPTs",
"LLM",
"vis",
"LUI"
],
"homepage": "https://gpt-vis.antv.vision",
"repository": {
"type": "git",
"url": "https://github.com/antvis/GPT-Vis"
},
"license": "MIT",
"author": "antvis",
"sideEffects": false,
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"jsdelivr": "dist/umd/index.min.js",
"unpkg": "dist/umd/index.min.js",
"files": [
"dist",
"README.md",
"!dist/umd/report.html"
],
"scripts": {
"prepare": "husky",
"build": "father build && limit-size",
"dev": "father dev",
"check-deps": "father doctor",
"check-format": "prettier './**/*.{ts,tsx,js,jsx,json,md,css,less}' --check",
"format": "prettier './**/*.{ts,tsx,js,jsx,json,md,css,less}' --write",
"lint:ts": "eslint src/**",
"lint:ts-fix": "pnpm lint:ts --fix",
"test": "vitest run",
"test:watch": "vitest",
"publish-package": "pnpm build && pnpm publish",
"registry:build": "rm -rf site/public/r && npx shadcn@latest build cn/registry.json --output site/public/r"
},
"dependencies": {
"@antv/g2": "^5.4.1",
"@antv/g6": "^5.1.0",
"@antv/t8": "^0.3.0",
"@zumer/snapdom": "^1.9.14",
"measury": "^0.1.5"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.37.0",
"@types/webpack-bundle-analyzer": "^4.7.0",
"eslint": "^9.37.0",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"father": "^4.6.7",
"globals": "^15.15.0",
"husky": "^9.1.7",
"limit-size": "^0.1.4",
"lint-staged": "^15.5.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.1",
"prettier-plugin-organize-imports": "^4.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vitest": "^4.0.18",
"webpack-bundle-analyzer": "^4.10.2"
},
"engines": {
"node": ">=20",
"pnpm": ">=8"
},
"lint-staged": {
"*.{md,json}": [
"prettier --cache --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"prettier --cache --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --cache --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --cache --write"
]
},
"limit-size": [
{
"path": "dist/umd/index.min.js",
"limit": "3 Mb"
},
{
"path": "dist/umd/index.min.js",
"limit": "1 Mb",
"gzip": true
}
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}