handy-uploader 2.0.3 → 3.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/package.json CHANGED
@@ -1,16 +1,22 @@
1
1
  {
2
2
  "name": "handy-uploader",
3
- "version": "2.0.3",
4
- "description": "A comprehensive Vue 3 file uploader component library with video thumbnail generation and multiple upload styles",
5
- "main": "dist/handy-uploader.umd.js",
6
- "module": "dist/handy-uploader.es.js",
3
+ "version": "3.0.0",
4
+ "description": "A Vue 3 file uploader with video thumbnails, image compression and i18n. Works with any CSS framework; Vuetify components available from handy-uploader/vuetify.",
5
+ "main": "dist/handy-uploader.cjs",
6
+ "module": "dist/handy-uploader.mjs",
7
7
  "types": "dist/lib/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/lib/index.d.ts",
11
- "import": "./dist/handy-uploader.es.js",
12
- "require": "./dist/handy-uploader.umd.js"
13
- }
11
+ "import": "./dist/handy-uploader.mjs",
12
+ "require": "./dist/handy-uploader.cjs"
13
+ },
14
+ "./vuetify": {
15
+ "types": "./dist/lib/vuetify.d.ts",
16
+ "import": "./dist/vuetify.mjs",
17
+ "require": "./dist/vuetify.cjs"
18
+ },
19
+ "./style.css": "./dist/handy-uploader.css"
14
20
  },
15
21
  "files": [
16
22
  "dist"
@@ -46,6 +52,7 @@
46
52
  "build-only": "vite build",
47
53
  "type-check": "vue-tsc --noEmit",
48
54
  "lint": "eslint --fix",
55
+ "test": "vitest run",
49
56
  "format": "prettier --write src/",
50
57
  "storybook": "storybook dev -p 6006",
51
58
  "build-storybook": "storybook build",
@@ -63,6 +70,7 @@
63
70
  "@changesets/cli": "^2.29.8",
64
71
  "@mdi/font": "^7.4.47",
65
72
  "@rushstack/eslint-patch": "^1.15.0",
73
+ "@storybook/addon-docs": "^8.6.19",
66
74
  "@storybook/addon-essentials": "^8.6.15",
67
75
  "@storybook/addon-interactions": "^8.6.15",
68
76
  "@storybook/addon-links": "^8.6.15",
@@ -74,17 +82,33 @@
74
82
  "@vitejs/plugin-vue-jsx": "^5.1.3",
75
83
  "@vue/eslint-config-prettier": "^10.2.0",
76
84
  "@vue/eslint-config-typescript": "^14.6.0",
85
+ "@vue/test-utils": "^2.6.0",
77
86
  "@vue/tsconfig": "^0.8.1",
78
87
  "eslint": "^9.39.2",
79
88
  "eslint-plugin-vue": "^10.7.0",
80
89
  "husky": "^9.1.7",
90
+ "jsdom": "^26.1.0",
81
91
  "npm-run-all": "^4.1.5",
82
92
  "prettier": "^3.8.0",
93
+ "remark-gfm": "^4.0.1",
83
94
  "storybook": "^8.6.15",
84
95
  "typescript": "~5.9.3",
85
96
  "vite": "^6.3.5",
97
+ "vitest": "^3.2.7",
86
98
  "vue": "^3.5.26",
87
99
  "vue-tsc": "^3.2.2",
88
100
  "vuetify": "^3.11.6"
101
+ },
102
+ "peerDependenciesMeta": {
103
+ "vuetify": {
104
+ "optional": true
105
+ }
106
+ },
107
+ "typesVersions": {
108
+ "*": {
109
+ "vuetify": [
110
+ "dist/lib/vuetify.d.ts"
111
+ ]
112
+ }
89
113
  }
90
114
  }