timered-counter 0.0.9 → 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/README.md +51 -76
- package/package.json +12 -2
package/README.md
CHANGED
@@ -1,76 +1,51 @@
|
|
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
|
-
```bash
|
54
|
-
npm run storybook
|
55
|
-
```
|
56
|
-
|
57
|
-
To build a production version of Storybook, run
|
58
|
-
|
59
|
-
```bash
|
60
|
-
npm run storybook:build
|
61
|
-
```
|
62
|
-
|
63
|
-
|
64
|
-
## Tooling configs
|
65
|
-
|
66
|
-
For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.
|
67
|
-
|
68
|
-
If you customize the configuration a lot, you can consider moving them to individual files.
|
69
|
-
|
70
|
-
## Local Demo with `web-dev-server`
|
71
|
-
|
72
|
-
```bash
|
73
|
-
npm start
|
74
|
-
```
|
75
|
-
|
76
|
-
To run a local development server that serves the basic demo located in `demo/index.html`
|
1
|
+
# timered-counter
|
2
|
+
|
3
|
+
Make the value change more vivid and natural.
|
4
|
+
|
5
|
+

|
6
|
+

|
7
|
+

|
8
|
+
[](https://github.com/semantic-release/semantic-release)
|
9
|
+
[](https://app.netlify.com/sites/timered-counter/deploys)
|
10
|
+
|
11
|
+
<table>
|
12
|
+
<tr>
|
13
|
+
<th colspan="4">Timered Counter</th>
|
14
|
+
</tr>
|
15
|
+
<tr>
|
16
|
+
<td><img src="./demo/images/simple.gif" /></td>
|
17
|
+
<td><img src="./demo/images/countdown.gif" /></td>
|
18
|
+
<td><img src="./demo/images/string.gif" /></td>
|
19
|
+
<td><img src="./demo/images/color.gif" /></td>
|
20
|
+
</tr>
|
21
|
+
<tr>
|
22
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/simple-usage.html#number"><strong>Simple</strong></a></td>
|
23
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/simple-usage.html#datetime-duration"><strong>Countdown</strong></a></td>
|
24
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/simple-usage.html#string"><strong>String</strong></a></td>
|
25
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/styled-usage.html#color"><strong>Colorful</strong></a></td>
|
26
|
+
</tr>
|
27
|
+
<tr>
|
28
|
+
<td><img src="./demo/images/locale.gif" /></td>
|
29
|
+
<td><img src="./demo/images/delay.gif" /></td>
|
30
|
+
<td><img src="./demo/images/easing.gif" /></td>
|
31
|
+
</tr>
|
32
|
+
<tr>
|
33
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/locale-usage.html#locale-datetime-duration"><strong>Locale</strong></a></td>
|
34
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/animated-usage.html#delay"><strong>Delay</strong></a></td>
|
35
|
+
<td><a href="https://timered-counter.netlify.app/guide/examples/animated-usage.html#easing"><strong>Easing</strong></a></td>
|
36
|
+
</tr>
|
37
|
+
</table>
|
38
|
+
|
39
|
+
## Documentation
|
40
|
+
|
41
|
+
- [Online Documentation](https://timered-counter.netlify.app/)
|
42
|
+
|
43
|
+
## Thanks
|
44
|
+
|
45
|
+

|
46
|
+
|
47
|
+
> Thank JetBrains for providing an [open-source license](https://jb.gg/OpenSourceSupport), which allows me to use such an excellent IDE.
|
48
|
+
|
49
|
+
## License
|
50
|
+
|
51
|
+
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fsiaikin%2Ftimered-counter?ref=badge_large&issueType=license)
|
package/package.json
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "timered-counter",
|
3
|
-
"description": "
|
3
|
+
"description": "Make the value change more vivid and natural",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "timered-counter",
|
6
|
-
"version": "0.0
|
6
|
+
"version": "0.1.0",
|
7
7
|
"type": "module",
|
8
8
|
"main": "dist/src/index.js",
|
9
9
|
"module": "dist/src/index.js",
|
10
|
+
"unpkg": "dist/timered-counter.global.js",
|
11
|
+
"jsdelivr": "dist/timered-counter.global.js",
|
10
12
|
"exports": {
|
11
13
|
".": "./dist/src/index.js",
|
12
14
|
"./timered-counter.js": "./dist/src/timered-counter.js",
|
@@ -21,6 +23,14 @@
|
|
21
23
|
"dist"
|
22
24
|
],
|
23
25
|
"types": "dist/src/index.d.ts",
|
26
|
+
"keywords": [
|
27
|
+
"timered-counter",
|
28
|
+
"counter",
|
29
|
+
"timer",
|
30
|
+
"countdown",
|
31
|
+
"web-components",
|
32
|
+
"lit"
|
33
|
+
],
|
24
34
|
"scripts": {
|
25
35
|
"analyze": "cem analyze --litelement",
|
26
36
|
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"web-dev-server\"",
|