@aarsteinmedia/dotlottie-player 5.0.0 → 5.0.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.
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@aarsteinmedia/dotlottie-player",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
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,83 +36,79 @@
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
- "lint:css:fix": "npx stylelint **/*.css --fix",
50
- "lint:pkg": "npmPkgJsonLint .",
51
- "lint:pkg:fix": "npmPkgJsonLint . --fix"
48
+ "lint:css:fix": "npx stylelint **/*.css --fix"
52
49
  },
53
50
  "dependencies": {
51
+ "@aarsteinmedia/lottie-web": "^0.2.25",
54
52
  "fflate": "^0.8.2",
55
- "lottie-web": "^5.12.2"
53
+ "lottie-web": "^5.13.0"
56
54
  },
57
55
  "peerDependencies": {
58
56
  "@types/react": ">= 16.0.0"
59
57
  },
60
58
  "devDependencies": {
61
59
  "@custom-elements-manifest/analyzer": "^0.10.4",
62
- "@eslint/compat": "^1.2.7",
63
- "@eslint/js": "^9.21.0",
64
60
  "@esm-bundle/chai": "4.3.4-fix.0",
65
61
  "@open-wc/testing": "^4.0.0",
66
- "@rollup/plugin-commonjs": "^28.0.2",
62
+ "@rollup/plugin-commonjs": "^28.0.3",
67
63
  "@rollup/plugin-json": "^6.1.0",
68
- "@rollup/plugin-node-resolve": "^16.0.0",
64
+ "@rollup/plugin-node-resolve": "^16.0.1",
69
65
  "@rollup/plugin-typescript": "^12.1.2",
70
- "@swc/core": "^1.11.1",
66
+ "@swc/core": "^1.11.29",
71
67
  "@types/mocha": "^10.0.10",
72
- "@types/node": "^22.13.5",
68
+ "@types/node": "^22.15.23",
73
69
  "@types/path-browserify": "^1.0.3",
74
- "@types/react": "^19.0.10",
70
+ "@types/postcss-flexbugs-fixes": "^5.0.3",
71
+ "@types/react": "^19.1.6",
75
72
  "@web/dev-server-esbuild": "^1.0.4",
76
73
  "@web/dev-server-import-maps": "^0.2.1",
77
74
  "@web/dev-server-rollup": "^0.6.4",
78
- "@web/test-runner": "^0.20.0",
75
+ "@web/test-runner": "^0.20.2",
79
76
  "@web/test-runner-playwright": "^0.11.0",
80
- "autoprefixer": "^10.4.20",
81
- "esbuild": "^0.25.0",
82
- "eslint": "^9.21.0",
83
- "eslint-config-prettier": "^10.0.1",
84
- "eslint-import-resolver-typescript": "^3.8.3",
85
- "eslint-plugin-import": "^2.31.0",
86
- "eslint-plugin-jsdoc": "^50.6.3",
87
- "eslint-plugin-perfectionist": "^4.9.0",
88
- "eslint-plugin-prettier": "^5.2.3",
89
- "globals": "^16.0.0",
90
- "npm-package-json-lint": "^8.0.0",
91
- "npm-package-json-lint-config-default": "^7.0.1",
77
+ "autoprefixer": "^10.4.21",
78
+ "esbuild": "^0.25.5",
79
+ "eslint": "^9.27.0",
80
+ "eslint-config-prettier": "^10.1.5",
81
+ "eslint-config-sheriff": "^28.0.0",
82
+ "eslint-plugin-perfectionist": "^4.13.0",
83
+ "globals": "^16.2.0",
84
+ "jiti": "^2.4.2",
85
+ "lodash-es": "^4.17.21",
92
86
  "postcss-flexbugs-fixes": "^5.0.2",
93
- "prettier": "^3.5.2",
94
- "react": "^19.0.0",
87
+ "prettier": "^3.5.3",
88
+ "react": "^19.1.0",
95
89
  "rimraf": "^6.0.1",
96
- "rollup": "^4.34.8",
97
- "rollup-plugin-dts": "^6.1.1",
90
+ "rollup": "^4.41.1",
91
+ "rollup-plugin-dts": "^6.2.1",
98
92
  "rollup-plugin-html-literals": "^1.1.8",
99
93
  "rollup-plugin-livereload": "^2.0.5",
94
+ "rollup-plugin-opener": "^0.1.4",
100
95
  "rollup-plugin-postcss": "^4.0.2",
101
- "rollup-plugin-serve": "^3.0.0",
102
- "rollup-plugin-summary": "^3.0.0",
96
+ "rollup-plugin-summary": "^3.0.1",
103
97
  "rollup-plugin-swc3": "^0.12.1",
104
98
  "rollup-plugin-typescript-paths": "^1.5.0",
105
- "stylelint": "^16.14.1",
106
- "stylelint-config-recommended": "^15.0.0",
107
- "tsc-alias": "^1.8.10",
99
+ "stylelint": "^16.19.1",
100
+ "stylelint-config-recommended": "^16.0.0",
101
+ "tsc-alias": "^1.8.16",
108
102
  "tslib": "^2.8.1",
109
- "typescript": "^5.7.3",
110
- "typescript-eslint": "^8.25.0"
103
+ "typescript": "^5.8.3",
104
+ "typescript-eslint": "^8.33.0"
111
105
  },
112
106
  "pnpm": {
113
107
  "onlyBuiltDependencies": [
114
108
  "@parcel/watcher",
115
109
  "@swc/core",
116
- "esbuild"
110
+ "esbuild",
111
+ "unrs-resolver"
117
112
  ]
118
113
  },
119
114
  "browserslist": {