Skip to content

Commit

Permalink
Add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
soerface committed Nov 10, 2024
1 parent eacc160 commit 14cf833
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1

# - name: Run linter
# uses:

- name: Build project
run: npm run build

Expand Down
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
"dev-public": "vite --host 0.0.0.0",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
"preview": "vite preview",
"prepare": "husky",
"test": "echo \"Error: no tests yet specified but husky want's me to have a test command\" && exit 0"
},
"dependencies": {
"@sentry/integrations": "^7.114.0",
"@sentry/react": "^8.36.0",
"@sentry/vite-plugin": "^2.22.6",
"husky": "^9.1.6",
"oidc-client-ts": "^3.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down

0 comments on commit 14cf833

Please sign in to comment.