@readium/shared 2.1.4 → 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.
Files changed (1) hide show
  1. package/package.json +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readium/shared",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "type": "module",
5
5
  "description": "Shared models to be used across other Readium projects and implementations in Typescript",
6
6
  "author": "readium",
@@ -46,7 +46,8 @@
46
46
  },
47
47
  "scripts": {
48
48
  "dev": "vite",
49
- "build": "tsc && vite build",
49
+ "clean": "rimraf types dist",
50
+ "build": "pnpm clean && tsc && vite build",
50
51
  "test": "jest",
51
52
  "size": "size-limit",
52
53
  "check-locales": "node scripts/check-locales.mjs",
@@ -70,6 +71,7 @@
70
71
  "babel-jest": "^30.2.0",
71
72
  "css-selector-generator": "^3.8.0",
72
73
  "jest": "^30.2.0",
74
+ "rimraf": "^6.1.2",
73
75
  "size-limit": "^12.0.0",
74
76
  "ts-jest": "^29.4.6",
75
77
  "tslib": "^2.8.1",