@aarsteinmedia/dotlottie-player 3.2.3 → 3.2.5

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,6 +1,7 @@
1
1
  {
2
+ "$schema": "https://json.schemastore.org/package",
2
3
  "name": "@aarsteinmedia/dotlottie-player",
3
- "version": "3.2.3",
4
+ "version": "3.2.5",
4
5
  "description": "Web Component for playing Lottie animations in your web app. Previously @johanaarstein/dotlottie-player",
5
6
  "exports": {
6
7
  ".": {
@@ -36,13 +37,19 @@
36
37
  ],
37
38
  "license": "GPL-2.0-or-later",
38
39
  "scripts": {
39
- "build": "rimraf ./dist && rollup -c",
40
- "build:types": "rimraf ./types && tsc",
40
+ "prebuild": "rimraf ./dist",
41
+ "build": "rollup -c",
42
+ "prebuild:types": "rimraf ./types ",
43
+ "build:types": "tsc && tsc-alias",
41
44
  "build:cem": "npx cem analyze --config cem.config.mjs",
42
45
  "prod": "pnpm build:types && pnpm build && pnpm build:cem",
43
46
  "dev": "rollup -c -w --environment NODE_ENV:development",
44
- "lint": "tsc && eslint",
45
- "lint:fix": "eslint"
47
+ "lint:js": "eslint",
48
+ "lint:js:fix": "eslint --fix",
49
+ "lint:css": "npx stylelint **/*.scss",
50
+ "lint:css:fix": "npx stylelint **/*.scss --fix",
51
+ "lint:pkg": "npmPkgJsonLint .",
52
+ "lint:pkg:fix": "npmPkgJsonLint . --fix"
46
53
  },
47
54
  "dependencies": {
48
55
  "fflate": "^0.8.2",
@@ -53,27 +60,30 @@
53
60
  },
54
61
  "devDependencies": {
55
62
  "@custom-elements-manifest/analyzer": "^0.10.3",
56
- "@eslint/compat": "^1.2.0",
63
+ "@eslint/compat": "^1.2.1",
57
64
  "@eslint/eslintrc": "^3.1.0",
58
- "@eslint/js": "^9.12.0",
59
- "@rollup/plugin-commonjs": "^28.0.0",
65
+ "@eslint/js": "^9.13.0",
66
+ "@rollup/plugin-commonjs": "^28.0.1",
60
67
  "@rollup/plugin-json": "^6.1.0",
61
68
  "@rollup/plugin-node-resolve": "^15.3.0",
62
69
  "@rollup/plugin-typescript": "^11.1.6",
63
- "@swc/core": "^1.7.35",
64
- "@types/node": "^22.7.5",
65
- "@typescript-eslint/eslint-plugin": "^8.8.1",
66
- "@typescript-eslint/parser": "^8.8.1",
70
+ "@swc/core": "^1.7.36",
71
+ "@types/node": "^22.7.7",
72
+ "@typescript-eslint/eslint-plugin": "^8.10.0",
73
+ "@typescript-eslint/parser": "^8.10.0",
67
74
  "autoprefixer": "^10.4.20",
75
+ "esbuild": "^0.24.0",
68
76
  "esbuild-sass-plugin": "^3.3.1",
69
- "eslint": "^9.12.0",
77
+ "eslint": "^9.13.0",
70
78
  "eslint-config-prettier": "^9.1.0",
71
79
  "eslint-import-resolver-typescript": "^3.6.3",
72
80
  "eslint-plugin-import": "^2.31.0",
73
81
  "eslint-plugin-jsdoc": "^48.11.0",
74
- "eslint-plugin-perfectionist": "^3.8.0",
82
+ "eslint-plugin-perfectionist": "^3.9.1",
75
83
  "eslint-plugin-prettier": "^5.2.1",
76
84
  "globals": "^15.11.0",
85
+ "npm-package-json-lint": "^8.0.0",
86
+ "npm-package-json-lint-config-default": "^7.0.1",
77
87
  "postcss-flexbugs-fixes": "^5.0.2",
78
88
  "prettier": "^3.3.3",
79
89
  "rimraf": "^6.0.1",
@@ -84,11 +94,27 @@
84
94
  "rollup-plugin-postcss": "^4.0.2",
85
95
  "rollup-plugin-serve": "^1.1.1",
86
96
  "rollup-plugin-summary": "^2.0.1",
87
- "rollup-plugin-swc3": "^0.11.2",
88
- "sass": "^1.79.5",
89
- "tslib": "^2.7.0",
97
+ "rollup-plugin-swc3": "^0.12.1",
98
+ "rollup-plugin-typescript-paths": "^1.5.0",
99
+ "sass": "^1.80.3",
100
+ "stylelint": "^16.10.0",
101
+ "stylelint-config-standard-scss": "^13.1.0",
102
+ "tsc-alias": "^1.8.10",
103
+ "tslib": "^2.8.0",
90
104
  "typescript": "^5.6.3"
91
105
  },
106
+ "browserslist": {
107
+ "production": [
108
+ ">0.3%",
109
+ "not dead",
110
+ "not op_mini all"
111
+ ],
112
+ "development": [
113
+ "last 1 chrome version",
114
+ "last 1 firefox version",
115
+ "last 1 safari version"
116
+ ]
117
+ },
92
118
  "customElements": "dist/custom-elements.json",
93
119
  "files": [
94
120
  "dist",