-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
132 lines (132 loc) · 3.55 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "@antv/gpt-vis",
"version": "0.2.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",
"typings": "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",
"start": "pnpm dev",
"dev": "dumi dev",
"build": "father build",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"deploy": "pnpm docs:build && pnpm docs:deploy",
"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:unit": "jest --config ./jest.config.ts",
"test:size": "pnpm build && limit-size",
"changeset": "changeset add",
"publish-version": "changeset version && node scripts/sync-version",
"publish-package": "pnpm build && changeset publish"
},
"dependencies": {
"@ant-design/graphs": "^2.0.1",
"@ant-design/icons": "^5.4.0",
"@ant-design/plots": "^2.2.5",
"@ant-design/x": "^1.0.0-alpha.12",
"@antv/l7": "^2.22.0",
"@antv/larkmap": "^1.5.1",
"@babel/runtime": "^7.18.0",
"lodash": "^4.17.21",
"react-markdown": "^9.0.1",
"rehype-raw": "^7.0.0",
"styled-components": "^6.0.7"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/react": "^18.0.0",
"antd": "^5.0.0",
"dumi": "^2.4.13",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"father": "^4.5.1",
"gh-pages": "^6.2.0",
"globals": "^15.12.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"limit-size": "^0.1.4",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"react": "^18.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0",
"webpack-bundle-analyzer": "^4.10.2"
},
"peerDependencies": {
"antd": "^5.0.0",
"react": ">=16.9.0"
},
"engines": {
"node": ">=18",
"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": "5 Mb"
}
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}