-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "shadowbrain",
"version": "0.13.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"setup": "node scripts/setup-db.js",
"setup:dev": "NODE_ENV=development node scripts/setup-db.js",
"setup:test": "NODE_ENV=test node scripts/setup-db.js",
"setup:prod": "NODE_ENV=production node scripts/setup-db.js",
"verify:foundation": "node scripts/verify-foundation.js",
"test:db:reset": "node scripts/test-db-reset.js",
"test:db:cleanup": "node scripts/test-db-cleanup.js",
"import:markdown": "node --env-file=.env --import tsx scripts/import-markdown.ts",
"sync:docs": "node --env-file=.env --import tsx scripts/sync-docs.ts",
"migrate:journal-shadows": "node --env-file=.env --import tsx scripts/migrate-journal-shadows.ts",
"hash:password": "tsx scripts/hash-password.ts",
"test": "vitest",
"test:ui": "vitest --ui",
"lint": "eslint .",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"verify": "pnpm lint && pnpm typecheck && pnpm build && pnpm test --run && pnpm exec knip",
"prepare": "husky"
},
"lint-staged": {
"*.{ts,tsx,js}": [
"prettier --write",
"eslint --fix"
],
"*.{json,css,md,yml,yaml}": [
"prettier --write"
]
},
"knip": {
"$schema": "https://unpkg.com/knip@6/schema.json",
"entry": [
"src/app/**/*.{ts,tsx,css}",
"src/components/ui/button.tsx",
"src/components/ui/input.tsx",
"src/components/ui/**/*.{ts,tsx}",
"src/components/command-palette/command-palette-root.tsx",
"src/lib/auth/**/*.{ts,tsx}",
"src/**/__tests__/**/*.{ts,tsx}",
"src/**/*.test.{ts,tsx}",
"scripts/**/*.{js,ts}"
],
"project": [
"src/**/*.{ts,tsx,css}",
"scripts/**/*.{js,ts}"
],
"ignore": [
"src/db/index.ts",
"src/db/test-utils.ts",
"src/db/client.ts",
"src/db/repositories/**"
]
},
"dependencies": {
"@base-ui/react": "^1.6.0",
"bcryptjs": "^3.0.3",
"better-sqlite3": "^12.11.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"gray-matter": "^4.0.3",
"lucide-react": "^1.21.0",
"next": "16.2.9",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"shadcn": "^4.11.0",
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^24.0.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitest/ui": "^4.1.9",
"eslint": "^9.39.4",
"eslint-config-next": "16.2.9",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"knip": "^6.17.1",
"lint-staged": "^17.0.0",
"prettier": "^3.8.4",
"prettier-plugin-tailwindcss": "^0.8.0",
"tailwindcss": "^4.3.1",
"tsx": "^4.22.4",
"typescript": "^6.0.0",
"vitest": "^4.1.9"
}
}