Skip to content

Commit

Permalink
Build: Add vitest as test script in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Jan 3, 2024
1 parent 99885da commit 3dae1ce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vitest": "^1.1.1"
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.43",
Expand All @@ -22,11 +22,13 @@
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.0",
"typescript": "^5.2.2",
"vite": "^5.0.8"
"vite": "^5.0.8",
"vitest": "^1.1.1"
}
}

0 comments on commit 3dae1ce

Please sign in to comment.