bi-components-library 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bi-components-library",
3
3
  "private": false,
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "type": "module",
6
6
  "description": "SealSeek BI 组件库 - 基于 Ant Design 的企业级 React 组件",
7
7
  "keywords": [
@@ -13,8 +13,8 @@
13
13
  ],
14
14
  "author": "SealSeek Team",
15
15
  "license": "MIT",
16
- "main": "./dist/index.js",
17
- "module": "./dist/index.js",
16
+ "main": "./dist/index.umd.js",
17
+ "module": "./dist/index.es.js",
18
18
  "types": "./dist/index.d.ts",
19
19
  "files": [
20
20
  "dist",
@@ -28,25 +28,19 @@
28
28
  "./styles": "./dist/bi-components-library.css"
29
29
  },
30
30
  "peerDependencies": {
31
- "react": ">=18.0.0",
32
- "react-dom": ">=18.0.0",
31
+ "@ant-design/icons": ">=5.0.0",
33
32
  "antd": ">=5.0.0",
34
- "@ant-design/icons": ">=5.0.0"
33
+ "react": ">=18.0.0",
34
+ "react-dom": ">=18.0.0"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "vite",
38
- "build": "tsc -b && vite build",
38
+ "build": "tsc -p tsconfig.build.json && vite build",
39
39
  "build:demo": "tsc -b && vite build --config vite.config.demo.ts",
40
40
  "lint": "eslint .",
41
41
  "preview": "vite preview",
42
- "preview:demo": "vite preview --outDir dist-demo"
43
- },
44
- "dependencies": {
45
- "@ant-design/icons": "^6.0.2",
46
- "antd": "^5.27.4",
47
- "react": "^19",
48
- "react-dom": "^19",
49
- "react-router-dom": "^7.9.2"
42
+ "preview:demo": "vite preview --outDir dist-demo",
43
+ "prepublishOnly": "npm run build"
50
44
  },
51
45
  "devDependencies": {
52
46
  "@eslint/js": "^9.30.1",