@qaiddev/quests-embed 1.1.0 → 1.1.1

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 (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +3 -1
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # @qaiddev/quests-embed
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@qaiddev/quests-embed)](https://www.npmjs.com/package/@qaiddev/quests-embed)
4
+ [![coverage](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fqaiddev%2Fquests-embed%2Fprod%2Fcoverage-badge.json)](https://github.com/qaiddev/quests-embed)
5
+
3
6
  A zero-dependency, lightweight questionnaire embed that renders step-by-step forms from a JSON definition. Drop it inline on a page or open it as a modal — answers are autosaved as the user types and submitted to your API endpoint or the [QAid.dev hosted dashboard](https://qaid.dev).
4
7
 
5
8
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qaiddev/quests-embed",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Any Questions for your Users?",
5
5
  "type": "module",
6
6
  "main": "./dist/qaid-quests.umd.cjs",
@@ -33,6 +33,8 @@
33
33
  "preview": "vite preview",
34
34
  "test": "vitest",
35
35
  "test:run": "vitest run",
36
+ "test:coverage": "vitest run --coverage && npm run coverage:badge",
37
+ "coverage:badge": "node --experimental-strip-types --disable-warning=ExperimentalWarning scripts/coverage-badge.ts",
36
38
  "prepublishOnly": "npm run test:run && npm run build"
37
39
  },
38
40
  "devDependencies": {