|
32 | 32 | "node": ">=6" |
33 | 33 | }, |
34 | 34 | "scripts": { |
35 | | - "test": "node --test", |
36 | | - "test:watch": "node --test --watch", |
| 35 | + "test": "vitest", |
37 | 36 | "lint": "eslint --report-unused-disable-directives --max-warnings 0", |
38 | 37 | "docs": "documentation readme src/parse.ts --section=API --shallow", |
39 | 38 | "postdocs": "prettier --write README.md", |
|
43 | 42 | "build": "yarn build:esm && yarn build:es5", |
44 | 43 | "prebuild": "yarn clean && yarn lint", |
45 | 44 | "postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json", |
46 | | - "preversion": "yarn lint && yarn test && yarn build", |
| 45 | + "preversion": "yarn lint && yarn test --run && yarn build", |
47 | 46 | "version": "standard-changelog && git add CHANGELOG.md", |
48 | 47 | "postversion": "git push --follow-tags" |
49 | 48 | }, |
|
53 | 52 | "@types/node": "^22.10.1", |
54 | 53 | "@typescript-eslint/eslint-plugin": "^8.8.1", |
55 | 54 | "@typescript-eslint/parser": "^8.8.1", |
| 55 | + "@vitest/coverage-v8": "^3.2.4", |
56 | 56 | "documentation": "^14.0.1", |
57 | 57 | "eslint": "^9.7.0", |
58 | 58 | "eslint-plugin-import": "^2.32.0", |
|
61 | 61 | "rimraf": "^6.0.1", |
62 | 62 | "standard-changelog": "^7.0.1", |
63 | 63 | "typescript": "^5.3.3", |
64 | | - "typescript-eslint": "^8.8.1" |
| 64 | + "typescript-eslint": "^8.8.1", |
| 65 | + "vitest": "^3.2.4" |
65 | 66 | }, |
66 | 67 | "keywords": [ |
67 | 68 | "vcf", |
|
0 commit comments