@giszhc/file-utils 0.0.6 → 0.0.7

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.
Files changed (2) hide show
  1. package/README.md +17 -10
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -19,6 +19,23 @@
19
19
 
20
20
  ------
21
21
 
22
+ ## 在线示例
23
+
24
+ 我们提供了一个功能完整的在线演示页面,您可以直接在浏览器中体验所有功能:
25
+
26
+ **🌐 立即体验:** [点击访问在线演示](https://giszhc.github.io/file-utils/)
27
+
28
+ ------
29
+
30
+ ## 安装
31
+
32
+ 你可以通过 npm 安装该库:
33
+
34
+ ```bash
35
+ pnpm install @giszhc/file-utils
36
+ ```
37
+
38
+ ------
22
39
  ## 方法列表
23
40
 
24
41
  ### 文件读取
@@ -100,16 +117,6 @@
100
117
 
101
118
  ------
102
119
 
103
- ## 安装
104
-
105
- 你可以通过 npm 安装该库:
106
-
107
- ```bash
108
- pnpm install @giszhc/file-utils
109
- ```
110
-
111
- ------
112
-
113
120
  ## 使用场景
114
121
 
115
122
  ### 1. 授权下载 - 需要 Token 的 API 接口
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giszhc/file-utils",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -34,7 +34,8 @@
34
34
  "scripts": {
35
35
  "dev": "vite",
36
36
  "build:types": "tsc -p tsconfig.build.json",
37
- "build": "pnpm run build:types && vite build",
37
+ "build": "vite build && pnpm run build:types",
38
+ "build:example": "vite build --config vite.example.config.ts",
38
39
  "preview": "vite preview"
39
40
  }
40
41
  }