|
21 | 21 | "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
|
22 | 22 | "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
23 | 23 | "prepack": "./scripts/prepack.sh",
|
24 |
| - "test": "jest && jest-it-up --config jest.config.cjs", |
25 |
| - "test:watch": "jest --watch" |
| 24 | + "test": "vitest", |
| 25 | + "test:watch": "vitest --watch" |
26 | 26 | },
|
27 | 27 | "dependencies": {
|
28 | 28 | "@metamask/action-utils": "^1.0.0",
|
|
48 | 48 | "@metamask/eslint-config-nodejs": "^10.0.0",
|
49 | 49 | "@metamask/eslint-config-typescript": "^10.0.0",
|
50 | 50 | "@types/debug": "^4.1.7",
|
51 |
| - "@types/jest": "^29.5.10", |
52 |
| - "@types/jest-when": "^3.5.2", |
53 | 51 | "@types/node": "^17.0.23",
|
54 | 52 | "@types/prettier": "^2.7.3",
|
55 | 53 | "@types/rimraf": "^4.0.5",
|
|
58 | 56 | "@types/yargs": "^17.0.10",
|
59 | 57 | "@typescript-eslint/eslint-plugin": "^5.62.0",
|
60 | 58 | "@typescript-eslint/parser": "^5.62.0",
|
| 59 | + "@vitest/coverage-istanbul": "^3.0.7", |
61 | 60 | "babel-jest": "^29.7.0",
|
62 | 61 | "deepmerge": "^4.2.2",
|
63 | 62 | "eslint": "^8.27.0",
|
|
67 | 66 | "eslint-plugin-jsdoc": "^39.6.2",
|
68 | 67 | "eslint-plugin-node": "^11.1.0",
|
69 | 68 | "eslint-plugin-prettier": "^5.2.1",
|
70 |
| - "jest": "^29.7.0", |
71 | 69 | "jest-it-up": "^3.0.0",
|
72 |
| - "jest-when": "^3.5.2", |
73 | 70 | "nanoid": "^3.3.4",
|
74 | 71 | "prettier": "^3.3.3",
|
75 | 72 | "prettier-plugin-packagejson": "^2.5.2",
|
76 | 73 | "rimraf": "^4.0.5",
|
77 | 74 | "stdio-mock": "^1.2.0",
|
78 | 75 | "tsx": "^4.6.1",
|
79 |
| - "typescript": "~5.1.6" |
| 76 | + "typescript": "~5.1.6", |
| 77 | + "vite": "^6.2.0", |
| 78 | + "vitest": "^3.0.7", |
| 79 | + "vitest-when": "^0.6.0" |
80 | 80 | },
|
81 | 81 | "peerDependencies": {
|
82 | 82 | "prettier": ">=3.0.0"
|
|
92 | 92 | "lavamoat": {
|
93 | 93 | "allowScripts": {
|
94 | 94 | "@lavamoat/preinstall-always-fail": false,
|
95 |
| - "tsx>esbuild": false |
| 95 | + "tsx>esbuild": false, |
| 96 | + "vite>esbuild": true |
96 | 97 | }
|
97 | 98 | }
|
98 | 99 | }
|
0 commit comments