|
39 | 39 | "doc:gen": "typedoc", |
40 | 40 | "build:demo": "cross-env BABEL_ENV=development BUILD_DEMO=true vite build", |
41 | 41 | "deploy": "npm run doc:gen && npm run build:demo && gh-pages -d dist", |
42 | | - "test": "cross-env NODE_ENV=test c8 mocha", |
| 42 | + "test": "vitest run", |
43 | 43 | "test:watch": "npm test -- --watch", |
44 | 44 | "preversion": "npm run build", |
45 | 45 | "postversion": "npm publish", |
|
61 | 61 | "node": ">=14" |
62 | 62 | }, |
63 | 63 | "peerDependencies": { |
64 | | - "react": "^17.0.0 || ^18.0.0", |
65 | | - "react-dom": "^17.0.0 || ^18.0.0" |
| 64 | + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", |
| 65 | + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" |
66 | 66 | }, |
67 | 67 | "dependencies": { |
68 | 68 | "@native-router/core": "^1.0.3", |
|
76 | 76 | "@linaria/babel-preset": "^5.0.2", |
77 | 77 | "@linaria/core": "^5.0.1", |
78 | 78 | "@linaria/vite": "^5.0.2", |
79 | | - "@testing-library/react": "^14.0.0", |
| 79 | + "@testing-library/dom": "^10.4.1", |
| 80 | + "@testing-library/react": "^14.3.1", |
80 | 81 | "@types/mocha": "^10.0.1", |
81 | 82 | "@types/node": "^20.6.5", |
82 | | - "@types/react": "^18.2.22", |
83 | | - "@types/react-dom": "^18.2.7", |
| 83 | + "@types/react": "^19.0.0", |
| 84 | + "@types/react-dom": "^19.0.0", |
84 | 85 | "@types/sinon": "^10.0.16", |
85 | 86 | "@typescript-eslint/eslint-plugin": "^6.7.2", |
86 | 87 | "@typescript-eslint/parser": "^6.7.2", |
87 | 88 | "@vitejs/plugin-react": "^4.1.0", |
| 89 | + "@vitest/coverage-v8": "^4.0.18", |
| 90 | + "@vitest/ui": "^4.0.18", |
88 | 91 | "babel-plugin-module-resolver": "^5.0.0", |
89 | 92 | "c8": "^8.0.1", |
90 | 93 | "commitizen": "^4.3.0", |
|
110 | 113 | "lint-staged": "^14.0.1", |
111 | 114 | "mocha": "^10.2.0", |
112 | 115 | "prettier": "^3.0.3", |
113 | | - "react": "^18.2.0", |
114 | | - "react-dom": "^18.2.0", |
| 116 | + "react": "^19.0.0", |
| 117 | + "react-dom": "^19.0.0", |
115 | 118 | "should": "^13.2.3", |
116 | 119 | "should-sinon": "0.0.6", |
117 | 120 | "sinon": "^16.0.0", |
|
121 | 124 | "typedoc-plugin-mark-react-functional-components": "^0.2.2", |
122 | 125 | "typedoc-plugin-missing-exports": "^2.1.0", |
123 | 126 | "typescript": "^5.2.2", |
124 | | - "vite": "^4.4.9" |
| 127 | + "vite": "^7.3.1", |
| 128 | + "vitest": "^4.0.18" |
125 | 129 | } |
126 | 130 | } |
0 commit comments