Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
183 lines (183 loc) · 8.01 KB
/
Copy pathpackage.json
File metadata and controls
183 lines (183 loc) · 8.01 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "iris",
"private": true,
"version": "2.5.45",
"type": "module",
"packageManager": "pnpm@9.15.0",
"engines": {
"node": ">=22.12.0"
},
"repository": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-client",
"homepage": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-client",
"bugs": {
"url": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-client?tab=issues"
},
"description": "Nostr client",
"author": "Martti Malmi",
"license": "MIT",
"scripts": {
"dev": "vite",
"dev:groups": "NODE_CONFIG_ENV=groups vite",
"dev:local": "VITE_USE_LOCAL_RELAY=true vite",
"dev:test": "VITE_USE_TEST_RELAY=true vite",
"dev:relay": "pnpm relay:start -- --seed 80000 --port 7777",
"relay:start": "tsx dev-relay/node-relay.ts",
"start": "vite",
"prebuild": "tsx ./scripts/updateSocialGraph.ts || true",
"verify:dependency-lock": "node ./scripts/verify-dependency-lock.mjs",
"build": "pnpm verify:dependency-lock && tsc && vite build --mode production",
"build:groups": "pnpm verify:dependency-lock && tsc && NODE_CONFIG_ENV=groups vite build --mode production",
"build:dev": "tsx ./scripts/updateSocialGraph.ts; tsc && vite build --mode development",
"build:analyze": "tsc && vite build --mode production",
"knip": "knip",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --fix",
"preview": "vite preview",
"preview:groups": "NODE_CONFIG_ENV=groups vite preview",
"pretest": "playwright install --with-deps chromium",
"test": "pnpm verify:dependency-lock && vitest run && playwright test --reporter=list",
"test:unit": "pnpm verify:dependency-lock && vitest run",
"test:ci": "pnpm verify:dependency-lock && vitest run && playwright test --reporter=list",
"test:ci:e2e": "playwright test --reporter=list,html",
"test:local": "vitest run && playwright test --reporter=list --workers=1",
"test:ui": "playwright test --ui",
"test:ui:testrelay": "VITE_USE_TEST_RELAY=true playwright test --ui",
"test:performance": "playwright test tests/user-journey.spec.ts --grep \"core user journey\" --reporter=list --workers=1",
"test:performance:prod": "pnpm build && IRIS_E2E_BUILT_DIST=true playwright test tests/user-journey.spec.ts --grep \"core user journey\" --reporter=list --workers=1",
"test:release:e2e": "IRIS_E2E_BUILT_DIST=true playwright test --reporter=list",
"lighthouse": "pnpm build && node ./scripts/lighthouse-test.js",
"lighthouse:json": "pnpm build && node ./scripts/lighthouse-test.js --json",
"lighthouse:open": "pnpm build && node ./scripts/lighthouse-test.js --open",
"smoke:portable": "node ./scripts/smoke-iris-portable.mjs",
"devpublish": "node ./scripts/devpublish-iris.mjs",
"devpublish:iris": "node ./scripts/devpublish-iris.mjs",
"publish:iris": "node ./scripts/publish-iris-build.mjs",
"release:iris": "node ./scripts/release-site.mjs",
"release:groups": "node ./scripts/release-groups.mjs",
"format": "prettier --write \"**/*.+(js|jsx|ts|tsx|json|yml|yaml|css|md)\"",
"format:check": "prettier --check \"**/*.+(js|jsx|ts|tsx|json|yml|yaml|css|md)\"",
"typecheck": "tsc --noEmit"
},
"build": {
"extends": null,
"appId": "com.nestr",
"mac": {
"icon": "src/assets/nest-logo-no-name.png"
},
"win": {
"icon": "src/assets/nest-logo-no-name.png"
},
"nsis": {
"installerIcon": "src/assets/nest-logo-no-name.png"
},
"files": [
"dist/**/*",
"build/**/*",
"node_modules/**/*",
"package.json"
],
"directories": {
"buildResources": "assets"
}
},
"dependencies": {
"@cashu/cashu-ts": "^3.7.1",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@fips/core": "https://github.com/mmalmi/fips-ts/releases/download/runtime-v0.0.53/fips-core-0.0.51.tgz",
"@fips/transport-webrtc": "https://github.com/mmalmi/fips-ts/releases/download/runtime-v0.0.53/fips-transport-webrtc-0.0.54.tgz",
"@gandlaf21/bc-ur": "^1.1.12",
"@hashtree/core": "https://github.com/mmalmi/hashtree/releases/download/hashtree-ts-runtime-v0.5.9/hashtree-core-0.3.2.tgz",
"@hashtree/dexie": "https://github.com/mmalmi/hashtree/releases/download/hashtree-ts-runtime-v0.5.9/hashtree-dexie-0.1.11.tgz",
"@hashtree/fips-transport": "https://github.com/mmalmi/hashtree/releases/download/hashtree-ts-runtime-v0.5.20/hashtree-fips-transport-0.4.21.tgz",
"@hashtree/index": "https://github.com/mmalmi/hashtree/releases/download/hashtree-ts-runtime-v0.5.9/hashtree-index-0.1.14.tgz",
"@hashtree/worker": "https://github.com/mmalmi/hashtree/releases/download/hashtree-ts-runtime-v0.5.19/hashtree-worker-0.4.11.tgz",
"@noble/curves": "^2.2.0",
"@noble/hashes": "^2.2.0",
"@remixicon/react": "^4.9.0",
"@scure/base": "^2.2.0",
"blurhash": "^2.0.5",
"buffer": "^6.0.3",
"classnames": "^2.5.1",
"debug": "^4.4.3",
"dexie": "^4.4.4",
"emoji-mart": "^5.6.0",
"fuse.js": "^7.5.0",
"hls.js": "^1.6.16",
"jsqr": "^1.4.0",
"leaflet": "^1.9.4",
"light-bolt11-decoder": "^3.2.0",
"localforage": "^1.10.0",
"lodash": "^4.18.1",
"markdown-to-jsx": "^9.9.0",
"minidenticons": "^4.2.1",
"nostr-double-ratchet": "https://github.com/irislib/nostr-double-ratchet/releases/download/nostr-double-ratchet-ts-v0.0.176/nostr-double-ratchet-0.0.176.tgz",
"nostr-pubsub": "https://github.com/mmalmi/nostr-pubsub/releases/download/nostr-pubsub-ts-v0.5.14/nostr-pubsub-0.5.14.tgz",
"nostr-social-graph": "https://github.com/mmalmi/nostr-social-graph/releases/download/v2.0.4/nostr-social-graph-2.0.4.tgz",
"nostr-tools": "^2.24.1",
"nostr-wasm": "^0.1.0",
"qrcode": "^1.5.4",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-helmet": "^6.1.0",
"react-string-replace": "^2.0.1",
"tseep": "^1.3.1",
"typescript-lru-cache": "^2.0.0",
"zustand": "^5.0.14"
},
"devDependencies": {
"@fips/transport-websocket": "https://github.com/mmalmi/fips-ts/releases/download/runtime-v0.0.54/fips-transport-websocket-0.0.9.tgz",
"@iris/release-tools": "https://github.com/mmalmi/iris-kit/releases/download/runtime-v0.2.6/iris-release-tools-0.1.1.tgz",
"@playwright/test": "^1.61.1",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.20",
"@types/debug": "^4.1.13",
"@types/leaflet": "^1.9.21",
"@types/lodash": "^4.17.24",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react-helmet": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^5.2.0",
"autoprefixer": "^10.5.4",
"config": "^4.4.2",
"daisyui": "^4.12.24",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.26",
"fake-indexeddb": "^6.2.5",
"jsdom": "^26.1.0",
"knip": "^5.88.1",
"nostr-pubsub-reconcile": "https://github.com/mmalmi/nostr-pubsub/releases/download/nostr-pubsub-reconcile-ts-v0.1.0/nostr-pubsub-reconcile-0.1.0.tgz",
"postcss": "^8.5.22",
"prettier": "^3.9.6",
"tailwindcss": "^3.4.19",
"tsx": "^4.23.1",
"typescript": "^5.9.3",
"vite": "^7.3.6",
"vite-plugin-pwa": "^1.3.0",
"vitest": "^3.2.7",
"workbox-build": "^7.4.1",
"workbox-cacheable-response": "^7.4.1",
"workbox-core": "^7.4.1",
"workbox-expiration": "^7.4.1",
"workbox-precaching": "^7.4.1",
"workbox-routing": "^7.4.1",
"workbox-strategies": "^7.4.1",
"workbox-window": "^7.4.1",
"ws": "^8.21.1"
},
"pnpm": {
"patchedDependencies": {
"@hashtree/fips-transport@0.4.21": "patches/hashtree-fips-transport.patch",
"nostr-pubsub@0.5.14": "patches/nostr-pubsub.patch"
},
"overrides": {
"dexie": "$dexie"
}
}
}