@ignatremizov/vue-tailwind-datepicker 2.1.3 → 2.1.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ignatremizov/vue-tailwind-datepicker",
3
3
  "type": "module",
4
- "version": "2.1.3",
4
+ "version": "2.1.5",
5
5
  "description": "A Vue 3 datepicker component using Tailwind CSS and Day.js",
6
6
  "author": {
7
7
  "name": "Ignat Remizov",
@@ -49,7 +49,8 @@
49
49
  "types": "./dist/entry.d.ts",
50
50
  "import": "./dist/vue-tailwind-datepicker.js",
51
51
  "require": "./dist/vue-tailwind-datepicker.umd.cjs"
52
- }
52
+ },
53
+ "./style.css": "./dist/vue-tailwind-datepicker.css"
53
54
  },
54
55
  "main": "./dist/vue-tailwind-datepicker.umd.cjs",
55
56
  "module": "./dist/vue-tailwind-datepicker.js",
@@ -62,10 +63,13 @@
62
63
  "provenance": true
63
64
  },
64
65
  "scripts": {
66
+ "prebuild": "node scripts/generate-dayjs-locale-loaders.mjs",
67
+ "prepack": "npm run build",
65
68
  "dev": "vite",
66
- "build": "vite build",
69
+ "build": "vite build && node scripts/build-library-css.mjs",
67
70
  "preview": "vite preview --port 4173",
68
71
  "test:unit": "vitest run",
72
+ "test:dist": "npm run build && vitest run --config vitest.dist.config.ts",
69
73
  "test:shortcut-matrix": "vitest run --passWithNoTests tests/unit/shortcut-*.spec.ts",
70
74
  "lint": "eslint .",
71
75
  "lint:fix": "eslint . --fix",
@@ -199,8 +203,7 @@
199
203
  "vue": "^3.3.13"
200
204
  },
201
205
  "dependencies": {
202
- "@vueuse/core": "^10.5.0",
203
- "vite-plugin-css-injected-by-js": "^3.3.1"
206
+ "@vueuse/core": "^10.5.0"
204
207
  },
205
208
  "devDependencies": {
206
209
  "@antfu/eslint-config": "^7.7.3",