|
7 | 7 | ".": { |
8 | 8 | "types": "./types/index.d.ts", |
9 | 9 | "default": "./src/index.js" |
| 10 | + }, |
| 11 | + "./vitest": { |
| 12 | + "default": "./src/vitest.js" |
10 | 13 | } |
11 | 14 | }, |
12 | 15 | "type": "module", |
|
43 | 46 | "toc": "doctoc README.md", |
44 | 47 | "lint": "(prettier . --check || true) && eslint .", |
45 | 48 | "format": "prettier . --write && eslint . --fix", |
46 | | - "test": "vitest run src", |
47 | | - "test:watch": "npm run test -- --watch", |
48 | | - "test:update": "npm run test -- --updateSnapshot --coverage", |
| 49 | + "test": "vitest run --coverage", |
| 50 | + "test:watch": "vitest", |
| 51 | + "test:update": "vitest run --update", |
49 | 52 | "setup": "npm install && npm run validate", |
50 | 53 | "validate": "npm-run-all lint test", |
51 | 54 | "contributors:add": "all-contributors add", |
|
61 | 64 | "@commitlint/cli": "^17.6.6", |
62 | 65 | "@commitlint/config-conventional": "^17.6.6", |
63 | 66 | "@sveltejs/vite-plugin-svelte": "^2.4.2", |
64 | | - "@testing-library/jest-dom": "^5.16.5", |
| 67 | + "@testing-library/jest-dom": "^6.3.0", |
65 | 68 | "@typescript-eslint/eslint-plugin": "^6.19.1", |
66 | 69 | "@typescript-eslint/parser": "^6.19.1", |
67 | | - "@vitest/coverage-c8": "^0.33.0", |
| 70 | + "@vitest/coverage-v8": "^0.33.0", |
68 | 71 | "all-contributors-cli": "^6.26.0", |
69 | 72 | "doctoc": "^2.2.1", |
70 | 73 | "eslint": "^8.43.0", |
|
0 commit comments