Skip to content

Commit

Permalink
setup vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
peetzweg committed Feb 6, 2024
1 parent 8bb66bc commit c1af660
Show file tree
Hide file tree
Showing 6 changed files with 731 additions and 6 deletions.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
},
"scripts": {
"build": "tsup",
"test": "vitest",
"coverage": "vitest run --coverage",
"dev": "tsup --watch",
"dev:react-example": "concurrently \"pnpm run dev\" \"pnpm run -F \"{examples/react-ts}\" dev\"",
"dev:scripts-example": "pnpm run build && pnpm run -F \"{examples/scripts-ts}\" script",
Expand Down Expand Up @@ -93,19 +95,24 @@
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.16",
"@types/react": "^18.2.53",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitest/coverage-v8": "latest",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"happy-dom": "^13.3.8",
"lint-staged": "^15.2.1",
"prettier": "^3.2.5",
"simple-git-hooks": "^2.9.0",
"tsup": "^8.0.1",
"typedoc": "^0.25.7",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "latest"
}
}
Loading

0 comments on commit c1af660

Please sign in to comment.