@aarsteinmedia/dotlottie-player 5.0.1 → 5.0.3

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/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@aarsteinmedia/dotlottie-player",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "description": "Web Component for playing Lottie animations in your web app. Previously @johanaarstein/dotlottie-player",
5
+ "type": "module",
5
6
  "exports": {
6
7
  ".": {
7
8
  "import": "./dist/index.js",
@@ -10,10 +11,8 @@
10
11
  }
11
12
  },
12
13
  "main": "./dist/index.js",
13
- "unpkg": "./dist/unpkg/index.js",
14
- "module": "./dist/index.js",
14
+ "unpkg": "./dist/unpkg.js",
15
15
  "types": "./dist/index.d.ts",
16
- "type": "module",
17
16
  "homepage": "https://www.aarstein.media/en/dotlottie-player",
18
17
  "repository": {
19
18
  "url": "git+https://github.com/aarsteinmedia/dotlottie-player.git",
@@ -37,19 +36,19 @@
37
36
  "scripts": {
38
37
  "test": "wtr",
39
38
  "prebuild": "rimraf ./dist",
40
- "build": "rollup -c",
41
- "prebuild:types": "rimraf ./types",
42
- "build:types": "tsc -p ./tsconfig.prod.json && tsc-alias",
43
- "build:cem": "npx cem analyze --config cem.config.js",
39
+ "build": "rollup -c --configPlugin typescript",
40
+ "prebuild:types": "rimraf ./types ",
41
+ "build:types": "tsc -p ./tsconfig.build.json && tsc-alias",
42
+ "build:cem": "npx cem analyze --config 'cem.config.js'",
44
43
  "prod": "pnpm build:types && pnpm build && pnpm build:cem",
45
- "dev": "rollup -c -w --environment NODE_ENV:development",
44
+ "dev": "rollup -c --configPlugin typescript -w --environment NODE_ENV:development",
46
45
  "lint:js": "eslint",
47
46
  "lint:js:fix": "eslint --fix",
48
47
  "lint:css": "npx stylelint **/*.css",
49
48
  "lint:css:fix": "npx stylelint **/*.css --fix"
50
49
  },
51
50
  "dependencies": {
52
- "@aarsteinmedia/lottie-web": "^0.2.21",
51
+ "@aarsteinmedia/lottie-web": "^0.2.25",
53
52
  "fflate": "^0.8.2",
54
53
  "lottie-web": "^5.13.0"
55
54
  },
@@ -58,8 +57,6 @@
58
57
  },
59
58
  "devDependencies": {
60
59
  "@custom-elements-manifest/analyzer": "^0.10.4",
61
- "@eslint/compat": "^1.2.9",
62
- "@eslint/js": "^9.27.0",
63
60
  "@esm-bundle/chai": "4.3.4-fix.0",
64
61
  "@open-wc/testing": "^4.0.0",
65
62
  "@rollup/plugin-commonjs": "^28.0.3",
@@ -68,34 +65,34 @@
68
65
  "@rollup/plugin-typescript": "^12.1.2",
69
66
  "@swc/core": "^1.11.29",
70
67
  "@types/mocha": "^10.0.10",
71
- "@types/node": "^22.15.21",
68
+ "@types/node": "^22.15.23",
72
69
  "@types/path-browserify": "^1.0.3",
73
- "@types/react": "^19.1.5",
70
+ "@types/postcss-flexbugs-fixes": "^5.0.3",
71
+ "@types/react": "^19.1.6",
74
72
  "@web/dev-server-esbuild": "^1.0.4",
75
73
  "@web/dev-server-import-maps": "^0.2.1",
76
74
  "@web/dev-server-rollup": "^0.6.4",
77
75
  "@web/test-runner": "^0.20.2",
78
76
  "@web/test-runner-playwright": "^0.11.0",
79
77
  "autoprefixer": "^10.4.21",
80
- "esbuild": "^0.25.4",
78
+ "esbuild": "^0.25.5",
81
79
  "eslint": "^9.27.0",
82
80
  "eslint-config-prettier": "^10.1.5",
83
- "eslint-import-resolver-typescript": "^4.3.5",
84
- "eslint-plugin-import": "^2.31.0",
85
- "eslint-plugin-jsdoc": "^50.6.17",
81
+ "eslint-config-sheriff": "^28.0.0",
86
82
  "eslint-plugin-perfectionist": "^4.13.0",
87
- "eslint-plugin-prettier": "^5.4.0",
88
- "globals": "^16.1.0",
83
+ "globals": "^16.2.0",
84
+ "jiti": "^2.4.2",
85
+ "lodash-es": "^4.17.21",
89
86
  "postcss-flexbugs-fixes": "^5.0.2",
90
87
  "prettier": "^3.5.3",
91
88
  "react": "^19.1.0",
92
89
  "rimraf": "^6.0.1",
93
- "rollup": "^4.41.0",
90
+ "rollup": "^4.41.1",
94
91
  "rollup-plugin-dts": "^6.2.1",
95
92
  "rollup-plugin-html-literals": "^1.1.8",
96
93
  "rollup-plugin-livereload": "^2.0.5",
94
+ "rollup-plugin-opener": "^0.1.4",
97
95
  "rollup-plugin-postcss": "^4.0.2",
98
- "rollup-plugin-serve": "^3.0.0",
99
96
  "rollup-plugin-summary": "^3.0.1",
100
97
  "rollup-plugin-swc3": "^0.12.1",
101
98
  "rollup-plugin-typescript-paths": "^1.5.0",
@@ -104,7 +101,7 @@
104
101
  "tsc-alias": "^1.8.16",
105
102
  "tslib": "^2.8.1",
106
103
  "typescript": "^5.8.3",
107
- "typescript-eslint": "^8.32.1"
104
+ "typescript-eslint": "^8.33.0"
108
105
  },
109
106
  "pnpm": {
110
107
  "onlyBuiltDependencies": [