|
32 | 32 | "lint.fix": "yarn lint --fix", |
33 | 33 | "release": "sl-scripts release", |
34 | 34 | "release.dryRun": "sl-scripts release --dry-run --debug", |
35 | | - "test": "jest", |
36 | | - "test.prod": "yarn lint && yarn test --coverage --no-cache --max-workers=2", |
37 | | - "test.update": "yarn test --updateSnapshot", |
38 | | - "test.watch": "yarn test --watch" |
| 35 | + "test": "vitest run", |
| 36 | + "test.prod": "yarn lint && vitest run --coverage", |
| 37 | + "test.update": "vitest run --update", |
| 38 | + "test.watch": "vitest", |
| 39 | + "prepare": "husky" |
39 | 40 | }, |
40 | 41 | "dependencies": { |
41 | 42 | "@stoplight/ordered-object-literal": "^1.0.3", |
42 | 43 | "@stoplight/path": "^1.3.2", |
43 | 44 | "@stoplight/types": "^13.6.0", |
44 | | - "jsonc-parser": "~2.2.1", |
| 45 | + "jsonc-parser": "~3.2.1", |
45 | 46 | "lodash": "^4.17.21", |
46 | 47 | "safe-stable-stringify": "^1.1" |
47 | 48 | }, |
48 | 49 | "devDependencies": { |
49 | | - "@stoplight/eslint-config": "^3.0.0", |
50 | | - "@stoplight/scripts": "^7.0.4", |
51 | | - "@types/jest": "^28.1.6", |
| 50 | + "@stoplight/eslint-config": "3.0.0", |
| 51 | + "@stoplight/scripts": "^10.0.0", |
52 | 52 | "@types/lodash": "^4.14.144", |
53 | 53 | "@types/node": "^12.12.5", |
54 | | - "@typescript-eslint/eslint-plugin": "^5.32.0", |
55 | | - "@typescript-eslint/parser": "^5.32.0", |
| 54 | + "@typescript-eslint/eslint-plugin": "^5.7.0", |
| 55 | + "@typescript-eslint/parser": "^5.7.0", |
| 56 | + "@vitest/coverage-v8": "^1.6.0", |
56 | 57 | "benchmark": "^2.1.4", |
57 | 58 | "eslint": "^8.21.0", |
58 | 59 | "eslint-plugin-import": "^2.26.0", |
59 | | - "eslint-plugin-jest": "^26.7.0", |
| 60 | + "eslint-plugin-jest": "^28.6.0", |
60 | 61 | "eslint-plugin-prettier": "^4.2.1", |
61 | 62 | "eslint-plugin-react": "^7.30.1", |
62 | 63 | "eslint-plugin-react-hooks": "^4.6.0", |
63 | 64 | "eslint-plugin-simple-import-sort": "^7.0.0", |
64 | | - "jest": "^28.1.3", |
65 | 65 | "prettier": "^2.3.1", |
66 | | - "ts-jest": "^28.0.7", |
67 | | - "typescript": "^4.7.4" |
| 66 | + "typescript": "^5.4.5", |
| 67 | + "vitest": "^1.6.0" |
68 | 68 | }, |
69 | 69 | "lint-staged": { |
70 | 70 | "*.{ts,tsx}$": [ |
|
0 commit comments