@getcredify/credify-insurance-widget 1.0.4 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getcredify/credify-insurance-widget",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "Credify Insurance Widget - Embeddable React widget for insurance quotes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.es.js",
@@ -35,7 +35,10 @@
35
35
  "prepublishOnly": "npm run build",
36
36
  "lint": "eslint .",
37
37
  "preview": "vite preview",
38
- "preview:iframe": "vite preview --config vite.iframe.config.ts"
38
+ "preview:iframe": "vite preview --config vite.iframe.config.ts",
39
+ "test": "jest --config jest.config.js",
40
+ "test:watch": "jest --config jest.config.js --watch",
41
+ "test:coverage": "jest --config jest.config.js --coverage"
39
42
  },
40
43
  "peerDependencies": {
41
44
  "react": "^19.0.0",
@@ -60,9 +63,17 @@
60
63
  "eslint-plugin-react-hooks": "^5.2.0",
61
64
  "eslint-plugin-react-refresh": "^0.4.20",
62
65
  "globals": "^16.3.0",
66
+ "@testing-library/jest-dom": "^6.6.3",
67
+ "@testing-library/react": "^16.1.0",
68
+ "@testing-library/user-event": "^14.5.2",
69
+ "@types/jest": "^29.5.14",
70
+ "identity-obj-proxy": "^3.0.0",
71
+ "jest": "^29.7.0",
72
+ "jest-environment-jsdom": "^29.7.0",
63
73
  "postcss": "^8.5.6",
64
74
  "semantic-release": "^24.2.0",
65
75
  "tailwindcss": "^4.1.12",
76
+ "ts-jest": "^29.4.6",
66
77
  "typescript": "~5.8.3",
67
78
  "typescript-eslint": "^8.39.1",
68
79
  "vite": "^7.1.2"