You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/verify/skill.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,18 @@ Run lint, build, and tests to verify the current state of the codebase.
16
16
npm run lint
17
17
```
18
18
19
-
**Build + Tests:**
19
+
**Build:**
20
+
```bash
21
+
npm run build
22
+
```
23
+
24
+
**Tests:**
20
25
```bash
21
26
npm run test
22
27
```
23
28
24
-
> `npm run test` runs `npm run build && npm run build:test && karma start test/karma.config.js` — it builds the source, builds the test bundle, and runs Karma with Mocha/Chai in Chrome and Firefox.
29
+
> `npm run test` runs Vitest in headless jsdom mode.
30
+
> `npm run build` runs Vite and produces IIFE and CommonJS bundles + TypeScript type declarations.
25
31
26
32
2. Report results in this format:
27
33
@@ -35,7 +41,8 @@ npm run test
35
41
36
42
## Notes
37
43
38
-
- This is a plain JavaScript project — kit source is ES5-style; tests/tooling may use ES6. There is no TypeScript compilation step.
39
-
- Build uses Rollup and produces IIFE and CommonJS bundles.
40
-
- Tests run in real browsers (Chrome, Firefox) via Karma, not in Node/jsdom.
41
-
-`npm run test:debug` launches Chrome in non-headless mode for interactive debugging.
44
+
- TypeScript project — source is `src/Rokt-Kit.ts`, tests are `test/src/tests.spec.ts`
45
+
- Build uses Vite and produces `dist/Rokt-Kit.iife.js`, `dist/Rokt-Kit.common.js`, and `dist/Rokt-Kit.d.ts`
46
+
- Tests run in jsdom via Vitest (no browser required)
47
+
-`npm run test:watch` runs Vitest in watch mode for development
48
+
-`npm run test:coverage` generates a V8 coverage report
0 commit comments