Skip to content

Commit

Permalink
Merge pull request #361 from captableinc/knip-setup
Browse files Browse the repository at this point in the history
chore: setup knit
  • Loading branch information
dahal authored May 30, 2024
2 parents ccf7e0d + cb15856 commit 528e10c
Show file tree
Hide file tree
Showing 3 changed files with 358 additions and 3 deletions.
5 changes: 5 additions & 0 deletions knip.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = {
project: ["src/**/*.{ts,tsx,js}!"],
};

export default config;
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"email:dev": "mailpit",
"format": "biome format --write ./src && prisma format",
"email:preview": "email preview ./src/emails",
"copy:pdfjs": "node scripts/copy-pdfjs-worker.cjs"
"copy:pdfjs": "node scripts/copy-pdfjs-worker.cjs",
"knip": "knip"
},
"dependencies": {
"@ark-ui/react": "^2.2.3",
Expand Down Expand Up @@ -116,7 +117,7 @@
"@types/cookie": "^0.6.0",
"@types/inquirer": "^9.0.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.12.8",
"@types/node": "^20.12.12",
"@types/nodemailer": "^6.4.14",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.2.23",
Expand All @@ -125,6 +126,7 @@
"colors": "^1.4.0",
"husky": "^9.0.11",
"inquirer": "^9.2.22",
"knip": "^5.17.2",
"lint-staged": "^15.2.2",
"postcss": "^8.4.38",
"prisma": "^5.13.0",
Expand Down
Loading

0 comments on commit 528e10c

Please sign in to comment.