Skip to content

Commit

Permalink
chore(scripts): biome, tailwindcss build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
taskylizard committed Feb 16, 2024
1 parent 7d1b851 commit 290b3ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pre-commit:
parallel: true
commands:
check:
glob: '*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}'
run:
bunx biome check --apply --no-errors-on-unmatched
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: bunx biome check --apply --no-errors-on-unmatched
--files-ignore-unknown=true {staged_files} && git update-index --again
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
"db:migrate:prod": "wrangler d1 migrations apply simulation",
"deploy": "wrangler deploy",
"dev": "wrangler dev",
"dev:css": "tailwindcss build -i src/styles.css -o assets/built.css -w",
"build": "tailwindcss build -i src/styles.css -o assets/built.css",
"postinstall": "wrangler types && lefthook install",
"tail": "wrangler tail",
"format": "biome format --write .",
"lint": "biome lint --apply .",
"check": "biome check --apply .",
"typecheck": "wrangler types && tsc"
},
"dependencies": {
Expand Down

0 comments on commit 290b3ad

Please sign in to comment.