@prodkt/animations 1.1.0 → 1.2.2

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 (3) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +6 -8
  3. package/package.json +4 -4
package/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020 A Beautiful Site, LLC
1
+ Copyright (c) 2022 Prodkt
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
package/README.md CHANGED
@@ -7,14 +7,12 @@ Your favorite [animate.css](https://animate.style/) effects available as ES modu
7
7
  - 🚚 Works with CDNs
8
8
  - 🌲 Fully tree-shakeable
9
9
 
10
- [Try it on JSFiddle](https://jsfiddle.net/tovutifunk/ohjmkgb1)
11
-
12
10
  This module was built for [Tovuti](https://prodkt.cloud/), but it works well as a stand-alone library too!
13
11
 
14
12
  ## Installation
15
13
 
16
14
  ```bash
17
- npm install @tovutifunk/animations
15
+ npm install @prodkt/animations
18
16
  ```
19
17
 
20
18
  ## Usage
@@ -22,19 +20,19 @@ npm install @tovutifunk/animations
22
20
  Importing all animations:
23
21
 
24
22
  ```js
25
- import * as animations from '@tovutifunk/animations';
23
+ import * as animations from '@prodkt/animations';
26
24
  ```
27
25
 
28
26
  Importing individual animations:
29
27
 
30
28
  ```js
31
- import { bounce } from '@tovutifunk/animations';
29
+ import { bounce } from '@prodkt/animations';
32
30
  ```
33
31
 
34
32
  Importing easings:
35
33
 
36
34
  ```js
37
- import { easings } from '@tovutifunk/animations';
35
+ import { easings } from '@prodkt/animations';
38
36
  ```
39
37
 
40
38
  Animating an element:
@@ -43,7 +41,7 @@ Animating an element:
43
41
  <div style="display: block; width: 100px; height: 100px; background: tomato; margin: 2rem;"></div>
44
42
 
45
43
  <script type="module">
46
- import { easings, flip } from 'https://cdn.jsdelivr.net/npm/@tovutifunk/animations@1/dist/index.js';
44
+ import { easings, flip } from 'https://cdn.jsdelivr.net/npm/@prodkt/animations@1/dist/index.js';
47
45
 
48
46
  const box = document.querySelector('div');
49
47
 
@@ -55,7 +53,7 @@ Animating an element:
55
53
  </script>
56
54
  ```
57
55
 
58
- This example uses the [jsDelivr CDN](https://www.jsdelivr.com/). To import the library locally, install it and make `node_modules/@tovutifunk/animations/dist` available to your app or bundler.
56
+ This example uses the [jsDelivr CDN](https://www.jsdelivr.com/). To import the library locally, install it and make `node_modules/@prodkt/animations/dist` available to your app or bundler.
59
57
 
60
58
  ## Developers
61
59
 
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@prodkt/animations",
3
3
  "description": "Your favorite animate.css effects available as ES modules for use with the Web Animations API.",
4
- "version": "1.1.0",
4
+ "version": "1.2.2",
5
5
  "homepage": "https://github.com/prodkt-cloud/animations",
6
6
  "author": "Bryan Funk",
7
7
  "license": "MIT",
8
- "main": "dist/index.js",
9
- "module": "dist/index.js",
8
+ "main": "dist/tovuti.js",
9
+ "module": "dist/tovuti.js",
10
10
  "type": "module",
11
- "types": "dist/index.d.ts",
11
+ "types": "dist/tovuti.d.ts",
12
12
  "scripts": {
13
13
  "build": "node src/index.cjs",
14
14
  "test": "echo \"Error: no test specified\" && exit 1"