-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.18 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.18 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
{
"name": "pknotes",
"version": "1.0.0",
"description": "End-to-end encrypted notes on Cloudflare Workers — passkey (WebAuthn PRF) key management, D1 storage.",
"scripts": {
"dev": "vite",
"build": "npm run check && vite build",
"check": "node scripts/ensure-dev-vars.mjs && wrangler types && tsc -p tsconfig.json && tsc -p tsconfig.worker.json",
"test": "npm run test:unit && npm run test:worker",
"test:unit": "node --test tests/*.test.ts",
"test:worker": "vitest run",
"cf-typegen": "wrangler types",
"db:migrate:local": "wrangler d1 migrations apply DB --local",
"db:migrate:remote": "wrangler d1 migrations apply DB --remote",
"deploy": "npm run build && wrangler d1 migrations apply DB --remote && wrangler deploy",
"deploy:local": "npm run build && node scripts/deploy-local.mjs",
"deploy:demo": "npm run build && node scripts/deploy-local.mjs .deploy.demo.json",
"predev": "node scripts/ensure-dev-vars.mjs && wrangler d1 migrations apply DB --local"
},
"keywords": [],
"author": "",
"license": "MIT",
"engines": {
"node": ">=22.18"
},
"dependencies": {
"@codemirror/commands": "^6.10.4",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/language": "^6.12.4",
"@codemirror/state": "^6.7.1",
"@codemirror/view": "^6.43.6",
"@lezer/highlight": "^1.2.3",
"@simplewebauthn/server": "^13.3.2",
"codemirror": "^6.0.2",
"dompurify": "^3.4.12",
"hono": "^4.12.30",
"markdown-it": "^14.3.0",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.44.0",
"@cloudflare/vitest-pool-workers": "^0.18.5",
"@types/markdown-it": "^14.1.2",
"@types/node": "^26.1.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"typescript": "^7.0.2",
"vite": "^8.1.4",
"vitest": "^4.1.10",
"wrangler": "^4.110.0"
},
"private": true,
"type": "module",
"cloudflare": {
"label": "pknotes",
"bindings": {
"SESSION_SECRET": {
"description": "Long random string used to sign session cookies (e.g. output of: openssl rand -base64 32)"
}
}
}
}