@aarsteinmedia/dotlottie-player 5.3.2 → 6.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/CHANGELOG.md +7 -0
- package/README.md +24 -11
- package/custom-elements.json +1 -706
- package/dist/{index.d.ts → full.d.ts} +62 -24
- package/dist/{index.js → full.js} +92 -69
- package/dist/light.d.ts +233 -0
- package/dist/light.js +1484 -0
- package/dist/unpkg-full.js +70 -0
- package/dist/unpkg-light.js +68 -0
- package/package.json +17 -11
- package/dist/unpkg.js +0 -70
package/package.json
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aarsteinmedia/dotlottie-player",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Web Component for playing Lottie animations in your web app. Previously @johanaarstein/dotlottie-player",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"types": "./dist/
|
|
8
|
+
"default": "./dist/full.js",
|
|
9
|
+
"unpkg": "./dist/unpkg-full.js",
|
|
10
|
+
"types": "./dist/full.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./light": {
|
|
13
|
+
"default": "./dist/light.js",
|
|
14
|
+
"unpkg": "./dist/unpkg-light.js",
|
|
15
|
+
"types": "./dist/light.d.ts"
|
|
11
16
|
}
|
|
12
17
|
},
|
|
13
|
-
"main": "./dist/
|
|
14
|
-
"unpkg": "./dist/unpkg.js",
|
|
15
|
-
"types": "./dist/
|
|
18
|
+
"main": "./dist/full.js",
|
|
19
|
+
"unpkg": "./dist/unpkg-full.js",
|
|
20
|
+
"types": "./dist/full.d.ts",
|
|
16
21
|
"homepage": "https://www.aarstein.media/en/dotlottie-player",
|
|
17
22
|
"repository": {
|
|
18
23
|
"url": "git+https://github.com/aarsteinmedia/dotlottie-player.git",
|
|
@@ -41,14 +46,15 @@
|
|
|
41
46
|
"build:types": "tsc -p ./tsconfig.build.json && tsc-alias",
|
|
42
47
|
"build:cem": "npx cem analyze --config 'cem.config.js'",
|
|
43
48
|
"prod": "pnpm build:types && pnpm build && pnpm build:cem",
|
|
44
|
-
"dev": "rollup -cw --configPlugin typescript --environment NODE_ENV:development",
|
|
45
|
-
"
|
|
46
|
-
"lint:js
|
|
49
|
+
"dev": "rollup -cw --configPlugin typescript --environment NODE_ENV:development --environment VER:full",
|
|
50
|
+
"dev:light": "rollup -cw --configPlugin typescript --environment NODE_ENV:development --environment VER:light",
|
|
51
|
+
"lint:js": "eslint src",
|
|
52
|
+
"lint:js:fix": "eslint --fix src",
|
|
47
53
|
"lint:css": "npx stylelint **/*.css",
|
|
48
54
|
"lint:css:fix": "npx stylelint **/*.css --fix"
|
|
49
55
|
},
|
|
50
56
|
"dependencies": {
|
|
51
|
-
"@aarsteinmedia/lottie-web": "^1.1.
|
|
57
|
+
"@aarsteinmedia/lottie-web": "^1.1.7",
|
|
52
58
|
"fflate": "^0.8.2"
|
|
53
59
|
},
|
|
54
60
|
"peerDependencies": {
|