|
43 | 43 | "build": "npx tsc --outDir dist/lib -d --module commonjs && npx rollup -c rollup.config.ts", |
44 | 44 | "perf": "node --expose-gc scripts/perf.js", |
45 | 45 | "start": "npx rollup -c rollup.config.ts -w", |
46 | | - "test": "npx jest --coverage", |
47 | | - "test:watch": "npx jest --coverage --watch", |
48 | | - "test:prod": "npm run lint && npm run test -- --no-cache", |
| 46 | + "test": "vitest --run", |
| 47 | + "test:watch": "vitest", |
| 48 | + "test:prod": "npm run lint && npm run test", |
| 49 | + "coverage": "vitest run --coverage", |
49 | 50 | "deploy-docs": "ts-node scripts/gh-pages-publish", |
50 | 51 | "report-coverage": "cat ./coverage/lcov.info | coveralls", |
51 | 52 | "precommit": "lint-staged", |
|
56 | 57 | "@rollup/plugin-node-resolve": "^13.0.0", |
57 | 58 | "@rollup/plugin-terser": "^0.4.0", |
58 | 59 | "@rollup/plugin-typescript": "^8.2.1", |
59 | | - "@types/jest": "^29.4.0", |
60 | 60 | "@typescript-eslint/eslint-plugin": "^4.26.0", |
61 | 61 | "@typescript-eslint/parser": "^4.26.0", |
62 | 62 | "clean-publish": "^3.4.5", |
|
65 | 65 | "eslint-config-prettier": "^8.6.0", |
66 | 66 | "eslint-plugin-prettier": "^3.4.1", |
67 | 67 | "husky": "^6.0.0", |
68 | | - "jest": "^29.5.0", |
69 | | - "jest-cli": "^29.5.0", |
70 | | - "jest-config": "^29.5.0", |
71 | 68 | "lint-staged": "^11.0.0", |
72 | 69 | "prettier": "^2.3.0", |
73 | 70 | "prettier-eslint": "^12.0.0", |
|
76 | 73 | "rollup-plugin-typescript2": "^0.34.1", |
77 | 74 | "shelljs": "^0.8.4", |
78 | 75 | "tinybench": "^2.5.1", |
79 | | - "ts-jest": "^29.0.5", |
80 | 76 | "ts-node": "^10.9.1", |
81 | | - "typescript": "^4.3.2" |
| 77 | + "typescript": "^4.3.2", |
| 78 | + "vitest": "^2.1.8" |
82 | 79 | } |
83 | 80 | } |
0 commit comments