time-runner 1.0.0 → 1.0.1
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/README.md +8 -3
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -20,13 +20,13 @@ yarn add time-runner
|
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## 页面引入
|
|
23
|
-
```
|
|
23
|
+
```jsx
|
|
24
24
|
import { TimeRunner } from "time-runner";
|
|
25
25
|
import "time-runner/dist/time-runner.css";
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## 使用说明
|
|
29
|
-
```
|
|
29
|
+
```jsx
|
|
30
30
|
|
|
31
31
|
// 当前时间
|
|
32
32
|
<TimeRunner />
|
|
@@ -60,7 +60,7 @@ import "time-runner/dist/time-runner.css";
|
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
### 组件属性(props)
|
|
63
|
-
```
|
|
63
|
+
```jsx
|
|
64
64
|
/**
|
|
65
65
|
* 显示模式,默认:default
|
|
66
66
|
* default: 当前时间
|
|
@@ -100,5 +100,10 @@ borderColor?: string;
|
|
|
100
100
|
|
|
101
101
|
# 更新日志
|
|
102
102
|
|
|
103
|
+
## [1.0.1] - 2025-10-07
|
|
104
|
+
### 更新内容
|
|
105
|
+
- 更新readme内容
|
|
106
|
+
|
|
107
|
+
|
|
103
108
|
## [1.0.0] - 2025-10-07
|
|
104
109
|
### 首次发布
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "time-runner",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Displaying timer, current time, and countdown with light animation effects(React component)",
|
|
5
5
|
"keywords": ["react", "countdown", "timer", "hook", "card", "less", "animation", "vite"],
|
|
6
6
|
"main": "./dist/time-runner.umd.js",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"author": "feiqi",
|
|
11
11
|
"license": "MIT",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/feiqi80/time-runner"
|
|
15
|
+
},
|
|
12
16
|
"scripts": {
|
|
13
17
|
"build": "vite build",
|
|
14
18
|
"dev": "vite --port 3001"
|