-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 3.89 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 3.89 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
{
"name": "igloo-server",
"version": "1.2.0",
"scripts": {
"start": "bun run src/server.ts",
"start:headless": "bun scripts/start-headless.js",
"build:css": "cd frontend && BROWSERSLIST_IGNORE_OLD_DATA=1 bunx tailwindcss -i ./styles.css -o ../static/styles.css --watch",
"build:css:prod": "cd frontend && BROWSERSLIST_IGNORE_OLD_DATA=1 bunx tailwindcss -i ./styles.css -o ../static/styles.css --minify",
"copy:qr-worker": "bun scripts/copy-qr-worker.mjs",
"build:js": "bun run copy:qr-worker && esbuild frontend/index.tsx --bundle --outfile=static/app.js --jsx=automatic",
"build:js:prod": "bun run copy:qr-worker && NODE_ENV=production esbuild frontend/index.tsx --bundle --outfile=static/app.js --jsx=automatic --minify --tree-shaking --define:process.env.NODE_ENV='\"production\"'",
"build": "bun run build:js:prod && bun run build:css:prod",
"prebuild": "bun run docs:vendor:ci",
"build:dev": "bun run build:js && cd frontend && BROWSERSLIST_IGNORE_OLD_DATA=1 bunx tailwindcss -i ./styles.css -o ../static/styles.css",
"predev": "bun run docs:vendor:ci",
"build:conditional": "[ \"$HEADLESS\" = \"true\" ] && echo 'Headless mode: skipping frontend build' || bun run build",
"dev": "concurrently \"bun run build:css\" \"bun run build:js -- --watch\"",
"docs:validate": "bunx redocly lint docs/openapi/openapi.yaml",
"docs:vendor": "bun scripts/fetch-swagger-ui.mjs",
"docs:vendor:ci": "bun run docs:vendor || echo '[docs:vendor] skipped (offline or unpkg unreachable)'",
"docs:bundle": "bunx redocly bundle docs/openapi/openapi.yaml --output docs/openapi/openapi.json",
"version:sync": "bun scripts/sync-version.mjs --from-package",
"version:check": "bun scripts/sync-version.mjs --check",
"release": "./scripts/release.sh",
"release:patch": "./scripts/release.sh patch",
"release:minor": "./scripts/release.sh minor",
"release:major": "./scripts/release.sh major",
"postinstall": "bun scripts/patch-zod-compat.mjs",
"api:test:get": "bun scripts/api/test-get-endpoints.ts",
"api:test:get:blocked": "bun scripts/api/test-get-permissions.ts",
"api:test:get:list": "bun scripts/api/list-get-endpoints-from-openapi.ts",
"api:test:get:all": "bun run api:test:get && bun run api:test:get:blocked",
"api:test:sign": "bun scripts/api/test-post-sign.ts",
"api:test:cors": "bun scripts/api/test-cors-preflight.ts",
"api:test:get:openapi": "bun scripts/api/test-get-openapi-sweep.ts",
"api:test:ws": "bun scripts/api/test-ws-events.ts",
"api:test:nip": "bun scripts/api/test-nip44-nip04.ts",
"test:unit": "bun test --max-concurrency=1 src tests/routes",
"typecheck": "tsc --noEmit",
"tsc": "tsc --noEmit"
},
"dependencies": {
"@cmdcode/buff": "^2.2.5",
"@cmdcode/nostr-connect": "^0.0.7",
"@frostr/bifrost": "^1.0.7",
"@frostr/igloo-core": "^0.2.4",
"@noble/ciphers": "^1.3.0",
"@noble/curves": "^1.9.7",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tabs": "^1.1.13",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.523.0",
"nostr-tools": "^2.17.0",
"qr-scanner": "^1.4.2",
"qrcode.react": "^4.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^3.3.1",
"yaml": "^2.8.1",
"zod": "^3.25.76"
},
"devDependencies": {
"@redocly/cli": "^1.34.5",
"@types/node": "^22.18.12",
"@types/react": "^18.3.26",
"@types/react-dom": "^18.3.7",
"ajv": "^8.18.0",
"bun-types": "^1.3.1",
"concurrently": "^9.2.1",
"esbuild": "^0.25.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.18",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.7.3"
},
"overrides": {
"glob": "10.5.0",
"minimatch": "10.2.4",
"js-yaml": "4.1.1",
"dompurify": "3.3.2",
"undici": "6.23.0",
"ajv": "8.18.0",
"fast-xml-parser": "5.4.1"
}
}