Skip to content

Commit

Permalink
refactor: scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfrosty committed Oct 11, 2024
1 parent 2d197ae commit 246a1b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
"runner": "npx ts-node -r tsconfig-paths/register",
"contentlayer:build": "npx contentlayer2 build --clearCache",
"code-import": "npx esrun coder.ts",
"dev": "yarn contentlayer:build && concurrently -p \"[{name}]\" -n \"code import,next dev\" -c \"bgBlue.bold,bgGreen.bold\" \"yarn code-import --watch\" \"next dev -p 3001\"",
"prebuild": "yarn code-import",
"build": "yarn prettier:i18n && yarn contentlayer:build && next build",
"dev": "yarn code-import && yarn contentlayer:build && concurrently -p \"[{name}]\" -n \"code import,next dev\" -c \"bgBlue.bold,bgGreen.bold\" \"yarn code-import --watch\" \"next dev -p 3001\"",
"build": "yarn code-import && yarn prettier:i18n && yarn contentlayer:build && next build",
"start": "next start -p 3001",
"test": "yarn contentlayer:build",
"test": "yarn code-import && yarn prettier && && yarn contentlayer:build",
"lint": "next lint",
"prettier:i18n": "prettier -cw \"i18n/**/*.{js,jsx,ts,tsx,md,css,md,mdx}\" --ignore-path \"[]\"",
"prettier": "prettier -c \"./**/*.{js,jsx,ts,tsx,md,css,md,mdx}\"",
Expand Down

0 comments on commit 246a1b2

Please sign in to comment.