animejs 4.0.0 → 4.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 +21 -20
- package/lib/anime.cjs +2 -2
- package/lib/anime.esm.js +3 -3
- package/lib/anime.esm.min.js +2 -2
- package/lib/anime.iife.js +2 -2
- package/lib/anime.iife.min.js +2 -2
- package/lib/anime.min.cjs +2 -2
- package/lib/anime.umd.js +2 -2
- package/lib/anime.umd.min.js +2 -2
- package/package.json +1 -1
- package/types/index.d.ts +1 -1
- package/types/index.js +3 -3
package/README.md
CHANGED
|
@@ -56,30 +56,17 @@ animate('.square', {
|
|
|
56
56
|
|
|
57
57
|
The full documentation is available [here](https://animejs.com/documentation).
|
|
58
58
|
|
|
59
|
-
## NPM development scripts
|
|
60
|
-
|
|
61
|
-
First, run `npm i` to install all the necessary packages.
|
|
62
|
-
Then, execute the following scripts with `npm run <script>`.
|
|
63
|
-
|
|
64
|
-
| script | action |
|
|
65
|
-
| ------ | ------ |
|
|
66
|
-
| `dev` | Watch any changes in `src/` and compiles the esm version to `lib/anime.esm.js` |
|
|
67
|
-
| `dev-types` | Same as `dev`, but also run TypeScript and generate the `types/index.d.ts` file |
|
|
68
|
-
| `build` | Generate types definition and compiles ESM / UMD / IIFE versions to `lib/` |
|
|
69
|
-
| `test-browser` | Start a local server and start all browser related tests |
|
|
70
|
-
| `test-node` | Start all Node related tests |
|
|
71
|
-
| `open-examples` | Start a local server to browse the examples locally |
|
|
72
|
-
|
|
73
59
|
## Our sponsors
|
|
74
60
|
|
|
75
61
|
Anime.js is 100% free and is only made possible with the help of our sponsors.
|
|
62
|
+
Help the project become sustainable by sponsoring us on <a target="_blank" href="https://github.com/sponsors/juliangarnier">GitHub Sponsors</a>.
|
|
76
63
|
|
|
77
64
|
## Platinum sponsors
|
|
78
65
|
|
|
79
66
|
<table>
|
|
80
67
|
<tr>
|
|
81
68
|
<td>
|
|
82
|
-
<a target="_blank" href="https://huly.io
|
|
69
|
+
<a target="_blank" href="https://huly.io/?ref=animejs">
|
|
83
70
|
<picture>
|
|
84
71
|
<source media="(prefers-color-scheme: dark)" srcset="./assets/sponsors/huly-logomark.svg">
|
|
85
72
|
<img align="center" src="./assets/sponsors/huly-logomark-dark.svg" width="128">
|
|
@@ -87,10 +74,10 @@ Anime.js is 100% free and is only made possible with the help of our sponsors.
|
|
|
87
74
|
</a>
|
|
88
75
|
</td>
|
|
89
76
|
<td>
|
|
90
|
-
<a target="_blank" href="https://
|
|
77
|
+
<a target="_blank" href="https://ice.io/?ref=animejs">
|
|
91
78
|
<picture>
|
|
92
|
-
<source media="(prefers-color-scheme: dark)" srcset="./assets/sponsors/
|
|
93
|
-
<img align="center" src="./assets/sponsors/
|
|
79
|
+
<source media="(prefers-color-scheme: dark)" srcset="./assets/sponsors/ice-open-network-logomark.svg">
|
|
80
|
+
<img align="center" src="./assets/sponsors/ice-open-network-logomark-dark.svg" width="128">
|
|
94
81
|
</picture>
|
|
95
82
|
</a>
|
|
96
83
|
</td>
|
|
@@ -105,10 +92,10 @@ Anime.js is 100% free and is only made possible with the help of our sponsors.
|
|
|
105
92
|
</tr>
|
|
106
93
|
<tr>
|
|
107
94
|
<td align="center">
|
|
108
|
-
<a target="_blank" href="https://huly.io
|
|
95
|
+
<a target="_blank" href="https://huly.io/?ref=animejs">Huly</a>
|
|
109
96
|
</td>
|
|
110
97
|
<td align="center">
|
|
111
|
-
<a target="_blank" href="https://
|
|
98
|
+
<a target="_blank" href="https://ice.io/?ref=animejs">Ice Open Network</a>
|
|
112
99
|
</td>
|
|
113
100
|
<td align="center">
|
|
114
101
|
<a target="_blank" href="https://github.com/sponsors/juliangarnier">Your logo here</a>
|
|
@@ -116,6 +103,20 @@ Anime.js is 100% free and is only made possible with the help of our sponsors.
|
|
|
116
103
|
</tr>
|
|
117
104
|
</table>
|
|
118
105
|
|
|
106
|
+
## NPM development scripts
|
|
107
|
+
|
|
108
|
+
First, run `npm i` to install all the necessary packages.
|
|
109
|
+
Then, execute the following scripts with `npm run <script>`.
|
|
110
|
+
|
|
111
|
+
| script | action |
|
|
112
|
+
| ------ | ------ |
|
|
113
|
+
| `dev` | Watch any changes in `src/` and compiles the esm version to `lib/anime.esm.js` |
|
|
114
|
+
| `dev-types` | Same as `dev`, but also run TypeScript and generate the `types/index.d.ts` file |
|
|
115
|
+
| `build` | Generate types definition and compiles ESM / UMD / IIFE versions to `lib/` |
|
|
116
|
+
| `test-browser` | Start a local server and start all browser related tests |
|
|
117
|
+
| `test-node` | Start all Node related tests |
|
|
118
|
+
| `open-examples` | Start a local server to browse the examples locally |
|
|
119
|
+
|
|
119
120
|
## V4 API breaking changes overview
|
|
120
121
|
|
|
121
122
|
### Animations
|