smart-load-manager 1.0.1 → 1.1.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.
Files changed (1) hide show
  1. package/package.json +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-load-manager",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "A service and add-on utilities for managing third-party service (e.g., AdSense) loading for your web application that help improve Core Web Vitals.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -41,6 +41,8 @@
41
41
  "scripts": {
42
42
  "clear": "rm -rf dist",
43
43
  "build": "npm run clear && pkgroll",
44
+ "prepack": "npm run build",
45
+ "prepublishOnly": "npm test",
44
46
  "lint": "eslint \"src/**/*.ts\" --max-warnings 3",
45
47
  "test": "npm run type-check && npm run lint && npm run test:run",
46
48
  "test:run": "vitest run",
@@ -48,6 +50,6 @@
48
50
  "type-check": "tsc --noEmit"
49
51
  },
50
52
  "peerDependencies": {
51
- "@exadel/esl": "^5.15.0"
53
+ "@exadel/esl": "^5.15.0 || ^6.0.0"
52
54
  }
53
55
  }