@reform-society/agera-survey 0.1.1 → 0.1.3

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": "@reform-society/agera-survey",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Multi-step survey runtime for Webflow",
5
5
  "type": "module",
6
6
  "main": "dist/index.global.js",
@@ -26,14 +26,18 @@
26
26
  "build:analyze": "tsup src/index.ts --format iife --global-name AgeraSurvey --out-dir dist --minify --metafile",
27
27
  "lint": "eslint src",
28
28
  "typecheck": "tsc --noEmit",
29
- "check": "pnpm lint; pnpm typecheck"
29
+ "check": "pnpm lint; pnpm typecheck",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest"
30
32
  },
31
33
  "devDependencies": {
32
34
  "@agera/config": "workspace:*",
35
+ "happy-dom": "^15.11.7",
33
36
  "loglevel": "^1.9.2",
34
37
  "nanostores": "^0.11.3",
35
38
  "libphonenumber-js": "1.12.25",
36
39
  "tsup": "^8.5.1",
37
- "typescript": "^5.7.2"
40
+ "typescript": "^5.7.2",
41
+ "vitest": "^2.1.8"
38
42
  }
39
43
  }