|
13 | 13 | "tsconfig.json" |
14 | 14 | ], |
15 | 15 | "scripts": { |
16 | | - "test": "karma start karma.conf.js", |
| 16 | + "test": "vitest --config test/vitest.config.ts --run", |
17 | 17 | "lint": "eslint eslint.config.mjs lib test", |
18 | 18 | "postversion": "git push && git push --tags", |
19 | 19 | "test-type-definitions": "tsc" |
|
39 | 39 | "@protontech/eslint-plugin-enforce-uint8array-arraybuffer": "^2.0.0", |
40 | 40 | "@stylistic/eslint-plugin": "^5.9.0", |
41 | 41 | "@types/bn.js": "^5.2.0", |
42 | | - "@types/chai": "^5.2.3", |
43 | | - "@types/chai-as-promised": "^8.0.2", |
44 | 42 | "@types/elliptic": "^6.4.18", |
45 | | - "@types/mocha": "^10.0.10", |
46 | 43 | "@types/sinon": "^21.0.0", |
47 | | - "@types/webpack-env": "^1.18.8", |
48 | 44 | "@typescript-eslint/eslint-plugin": "^8.56.1", |
| 45 | + "@vitest/browser-playwright": "^4.1.2", |
49 | 46 | "bn.js": "^5.2.3", |
50 | | - "chai": "^6.2.2", |
51 | | - "chai-as-promised": "^8.0.2", |
52 | 47 | "elliptic": "^6.6.1", |
53 | 48 | "eslint": "^9.39.3", |
54 | 49 | "eslint-import-resolver-typescript": "^4.4.4", |
55 | | - "eslint-plugin-chai-friendly": "^1.1.0", |
56 | 50 | "eslint-plugin-import": "^2.32.0", |
57 | | - "karma": "^6.4.4", |
58 | | - "karma-chrome-launcher": "^3.2.0", |
59 | | - "karma-firefox-launcher": "^2.1.3", |
60 | | - "karma-mocha": "^2.0.1", |
61 | | - "karma-mocha-reporter": "^2.2.5", |
62 | | - "karma-webkit-launcher": "^2.6.0", |
63 | | - "karma-webpack": "^5.0.1", |
64 | | - "mocha": "^11.7.5", |
65 | 51 | "playwright": "^1.58.1", |
66 | 52 | "sinon": "^21.0.1", |
67 | | - "ts-loader": "^9.5.4", |
68 | | - "typescript": "^5.9.3", |
| 53 | + "typescript": "^6.0.2", |
69 | 54 | "typescript-eslint": "^8.56.1", |
70 | | - "web-streams-polyfill": "^3.3.3", |
71 | | - "webpack": "^5.105.2", |
72 | | - "webpack-cli": "^6.0.1" |
| 55 | + "vitest": "^4.1.2", |
| 56 | + "web-streams-polyfill": "^3.3.3" |
73 | 57 | }, |
74 | 58 | "packageManager": "yarn@4.10.2", |
75 | 59 | "engines": { |
|
0 commit comments