Skip to content

Commit

Permalink
chore: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinusnathaniel committed Jan 10, 2023
1 parent 5fb6b87 commit 8a5f664
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
npx turbo type-check
yarn type-check:turbo
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx turbo lint
yarn lint:turbo
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"build:turbo": "npx turbo build",
"postbuild": "next-sitemap --config next-sitemap.config.js",
"start": "next start",
"lint": "next lint",
"lint:fix": "eslint src --fix && yarn format",
"lint:turbo": "npx turbo lint",
"type-check": "tsc --noEmit",
"type-check:turbo": "npx turbo type-check",
"format": "prettier --write src",
"release": "cross-env HUSKY=0 standard-version",
"push-release": "git push --follow-tags origin dev",
Expand Down

0 comments on commit 8a5f664

Please sign in to comment.