@aarsteinmedia/dotlottie-player 3.2.4 → 4.0.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 +46 -30
- package/custom-elements.json +27 -0
- package/dist/cjs/index.js +20144 -232
- package/dist/esm/index.js +20144 -232
- package/dist/index.d.ts +11 -9
- package/dist/index.js +2 -174
- package/package.json +23 -11
- package/dist/custom-elements.json +0 -1308
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@aarsteinmedia/dotlottie-player",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"description": "Web Component for playing Lottie animations in your web app. Previously @johanaarstein/dotlottie-player",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -37,13 +37,16 @@
|
|
|
37
37
|
],
|
|
38
38
|
"license": "GPL-2.0-or-later",
|
|
39
39
|
"scripts": {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"test": "wtr",
|
|
41
|
+
"prebuild": "rimraf ./dist",
|
|
42
|
+
"build": "rollup -c",
|
|
43
|
+
"prebuild:types": "rimraf ./types",
|
|
44
|
+
"build:types": "tsc -p ./tsconfig.prod.json && tsc-alias",
|
|
42
45
|
"build:cem": "npx cem analyze --config cem.config.mjs",
|
|
43
46
|
"prod": "pnpm build:types && pnpm build && pnpm build:cem",
|
|
44
47
|
"dev": "rollup -c -w --environment NODE_ENV:development",
|
|
45
|
-
"lint": "
|
|
46
|
-
"lint:fix": "eslint",
|
|
48
|
+
"lint:js": "eslint",
|
|
49
|
+
"lint:js:fix": "eslint --fix",
|
|
47
50
|
"lint:css": "npx stylelint **/*.scss",
|
|
48
51
|
"lint:css:fix": "npx stylelint **/*.scss --fix",
|
|
49
52
|
"lint:pkg": "npmPkgJsonLint .",
|
|
@@ -61,14 +64,22 @@
|
|
|
61
64
|
"@eslint/compat": "^1.2.1",
|
|
62
65
|
"@eslint/eslintrc": "^3.1.0",
|
|
63
66
|
"@eslint/js": "^9.13.0",
|
|
67
|
+
"@esm-bundle/chai": "4.3.4-fix.0",
|
|
68
|
+
"@open-wc/testing": "^4.0.0",
|
|
64
69
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
65
70
|
"@rollup/plugin-json": "^6.1.0",
|
|
66
71
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
67
72
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
68
|
-
"@swc/core": "^1.7.
|
|
69
|
-
"@types/
|
|
70
|
-
"@
|
|
71
|
-
"@typescript-eslint/
|
|
73
|
+
"@swc/core": "^1.7.39",
|
|
74
|
+
"@types/mocha": "^10.0.9",
|
|
75
|
+
"@types/node": "^22.7.9",
|
|
76
|
+
"@typescript-eslint/eslint-plugin": "^8.11.0",
|
|
77
|
+
"@typescript-eslint/parser": "^8.11.0",
|
|
78
|
+
"@web/dev-server-esbuild": "^1.0.2",
|
|
79
|
+
"@web/dev-server-import-maps": "^0.2.1",
|
|
80
|
+
"@web/dev-server-rollup": "^0.6.4",
|
|
81
|
+
"@web/test-runner": "^0.19.0",
|
|
82
|
+
"@web/test-runner-playwright": "^0.11.0",
|
|
72
83
|
"autoprefixer": "^10.4.20",
|
|
73
84
|
"esbuild": "^0.24.0",
|
|
74
85
|
"esbuild-sass-plugin": "^3.3.1",
|
|
@@ -94,7 +105,7 @@
|
|
|
94
105
|
"rollup-plugin-summary": "^2.0.1",
|
|
95
106
|
"rollup-plugin-swc3": "^0.12.1",
|
|
96
107
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
97
|
-
"sass": "^1.80.
|
|
108
|
+
"sass": "^1.80.4",
|
|
98
109
|
"stylelint": "^16.10.0",
|
|
99
110
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
100
111
|
"tsc-alias": "^1.8.10",
|
|
@@ -113,8 +124,9 @@
|
|
|
113
124
|
"last 1 safari version"
|
|
114
125
|
]
|
|
115
126
|
},
|
|
116
|
-
"customElements": "
|
|
127
|
+
"customElements": "custom-elements.json",
|
|
117
128
|
"files": [
|
|
129
|
+
"custom-elements.json",
|
|
118
130
|
"dist",
|
|
119
131
|
"README.md"
|
|
120
132
|
],
|