Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import js from '@eslint/js';
import tsPlugin from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import prettierConfig from 'eslint-config-prettier';
import jest from 'eslint-plugin-jest';
import prettier from 'eslint-plugin-prettier';
import reactHooks from 'eslint-plugin-react-hooks';
import vitest from '@vitest/eslint-plugin';
import globals from 'globals';

const tsFiles = ['**/*.{ts,tsx,mts,cts}'];
Expand Down Expand Up @@ -80,7 +80,7 @@ export default [
'src/**/__test__/**/*.{ts,tsx}',
'src/**/__tests__/**/*.{ts,tsx}',
],
...jest.configs['flat/recommended'],
...vitest.configs.recommended,
},
{
rules: {
Expand Down
6 changes: 0 additions & 6 deletions jest.config.js

This file was deleted.

13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"prepublish-docs": "make clean && make all",
"publish-docs": "gh-pages --dist=examples --src='{index.html,iife/demo.js}'",
"serve:examples": "npx serve examples -l 3000",
"test": "jest",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"author": "Paul O’Shannessy <paul@oshannessy.com>",
Expand All @@ -52,31 +52,28 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@jest/globals": "^30.4.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^26.2.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.61.1",
"@typescript-eslint/parser": "^8.61.1",
"@vitest/eslint-plugin": "^1.6.27",
"canvas": "^3.2.3",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.15.2",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^7.1.1",
"gh-pages": "^6.3.0",
"globals": "^17.6.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"jsdom": "^30.1.2",
"prettier": "^3.8.4",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"ts-jest": "^29.4.11",
"tsup": "^8.5.1",
"typescript": "^6.0.3"
"typescript": "^6.0.3",
"vitest": "^5.0.3"
},
"packageManager": "pnpm@11.7.0+sha512.19cc852c120c7125760f2443ee6be0ca5b40f9f50598de1a09a1f177503e010e57c23c77646e01e761de59bf874fb22a3398c33ab9691fc13eb946b6f0f4d620"
}
Loading
Loading