@k-table/sheet-canvas 0.0.1 → 0.1.0

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,9 +1,50 @@
1
- {
2
- "name": "@k-table/sheet-canvas",
3
- "version": "0.0.1",
4
- "description": "KT Canvas 表格绘制与编辑器(占位包,正式版即将发布)",
5
- "license": "UNLICENSED",
6
- "publishConfig": {
7
- "access": "public"
8
- }
9
- }
1
+ {
2
+ "name": "@k-table/sheet-canvas",
3
+ "version": "0.1.0",
4
+ "publishConfig": { "access": "public" },
5
+ "license": "UNLICENSED",
6
+ "description": "kt 表格画布/渲染层:Canvas 2D 绘制、React 编辑器与实例组件、打印/PDF 叠层(依赖 @k-table/sheet-core 引擎,React/echarts 为 external)",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "sideEffects": false,
22
+ "scripts": {
23
+ "build": "tsup",
24
+ "typecheck": "tsc --noEmit",
25
+ "test": "vitest run",
26
+ "lint": "eslint --config ../eslint.config.mjs \"src/**/*.{ts,tsx}\"",
27
+ "clean": "rimraf dist"
28
+ },
29
+ "dependencies": {
30
+ "@k-table/sheet-core": "*",
31
+ "@k-table/sheet-host": "*"
32
+ },
33
+ "peerDependencies": {
34
+ "react": ">=18",
35
+ "react-dom": ">=18",
36
+ "exceljs": ">=4",
37
+ "jspdf": ">=2"
38
+ },
39
+ "devDependencies": {
40
+ "@types/react": "^19",
41
+ "@types/react-dom": "^19",
42
+ "exceljs": "^4.4.0",
43
+ "jspdf": "^2.5.2",
44
+ "react": "^19",
45
+ "react-dom": "^19",
46
+ "tsup": "^8.0.0",
47
+ "typescript": "^5",
48
+ "vitest": "^4.1.5"
49
+ }
50
+ }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # @k-table/sheet-canvas
2
-
3
- KT Canvas 表格绘制与编辑器。
4
-
5
- **本包为占位版本(0.0.1),正式版即将发布。** 正式版为商业授权软件,使用时需提供授权码。