-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.59 KB
/
Copy pathpackage.json
File metadata and controls
41 lines (41 loc) · 1.59 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
{
"name": "nostr-wot-extension",
"version": "0.3.84",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"test": "bash tests/run.sh",
"package:chrome": "vite build && node -e \"import{readFileSync as r,writeFileSync as w}from'node:fs';const f='dist/manifest.json',m=JSON.parse(r(f,'utf8'));delete m.browser_specific_settings;w(f,JSON.stringify(m,null,2)+'\\n')\" && cd dist && zip -r ../nostr-wot-chrome.zip . -x '.vite/*'",
"package:firefox": "vite build && node -e \"import{readFileSync as r,writeFileSync as w}from'node:fs';const f='dist/manifest.json',m=JSON.parse(r(f,'utf8'));m.background.scripts=[m.background.service_worker];delete m.background.service_worker;w(f,JSON.stringify(m,null,2)+'\\n')\" && cd dist && zip -r ../nostr-wot-firefox.zip . -x '.vite/*' && cd .. && vite build"
},
"dependencies": {
"@noble/ciphers": "^2.1.1",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@scure/base": "^2.0.0",
"@scure/bip32": "^2.0.1",
"@scure/bip39": "^2.0.1",
"nostr-tools": "^2.23.3",
"qrcode-generator": "^2.0.4",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.3.0",
"@types/chrome": "^0.1.37",
"@types/node": "^25.3.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^5.1.4",
"fake-indexeddb": "^6.2.5",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"ws": "^8.19.0"
}
}