-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 7.54 KB
/
Copy pathpackage.json
File metadata and controls
173 lines (173 loc) · 7.54 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
{
"name": "jam",
"version": "2.0.0-beta.1",
"private": true,
"description": "Your sats. Your privacy. Your profit.",
"repository": "git@github.com:joinmarket-webui/jam.git",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=26.3.0",
"npm": ">=11.16.0"
},
"scripts": {
"dev": "npm run dev:ng:native",
"dev:ng:native": "JAM_BACKEND=joinmarket-ng JMOBWATCH_PORT=31800 VITE_JAM_DEV_MODE=true vite",
"dev:ng:jam-standalone": "JAM_BACKEND=jam-standalone JAM_API_PORT=29080 VITE_JAM_DEV_MODE=true vite",
"dev:clientserver:native": "JAM_BACKEND=joinmarket-clientserver JMWALLETD_API_PORT=30183 JMWALLETD_WEBSOCKET_PORT=30283 JMOBWATCH_PORT=30601 VITE_JAM_DEV_MODE=true vite",
"dev:clientserver:jam-standalone": "JAM_BACKEND=jam-standalone JAM_API_PORT=31080 VITE_JAM_DEV_MODE=true vite",
"build": "tsc -b && vite build",
"lint": "npm run lint:check",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format:write": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format": "npm run lint:fix && npm run format:write",
"preview": "vite preview",
"storybook": "npm run storybook:up",
"storybook:up": "storybook dev -p 6006",
"storybook:build": "storybook build --disable-telemetry",
"storybook:build-gh-pages": "STORYBOOK_MSW_SERVICE_WORKER_URL=./mockServiceWorker.js npm run storybook:build",
"storybook:serve-static": "cd storybook-static/ && python3 -m http.server",
"test": "NODE_OPTIONS=--no-webstorage vitest run",
"test:unit": "NODE_OPTIONS=--no-webstorage vitest run --project unit",
"test:storybook": "NODE_OPTIONS=--no-webstorage vitest run --project storybook",
"test:coverage": "npm test -- --coverage.enabled",
"check": "npm run format && npm run test && npm run build",
"regtest:build": "npm run regtest:clear && npm run regtest:pull && docker compose --env-file docker/regtest/.env.example --file docker/regtest/docker-compose.yml build --pull",
"regtest:pull": "docker compose --env-file docker/regtest/.env.example --file docker/regtest/docker-compose.yml pull",
"regtest:rebuild": "rm -rf docker/regtest/.tmp && npm run regtest:build -- --no-cache",
"regtest:clear": "docker compose --env-file docker/regtest/.env.example --file docker/regtest/docker-compose.yml down --volumes --remove-orphans",
"regtest:up": "./docker/regtest/prepare-setup.sh && docker compose --env-file docker/regtest/.env.generated --file docker/regtest/docker-compose.yml up --detach --wait --wait-timeout 120",
"regtest:down": "docker compose --env-file docker/regtest/.env.example --file docker/regtest/docker-compose.yml down",
"regtest:logs:all": "docker compose --env-file docker/regtest/.env.example --file docker/regtest/docker-compose.yml logs --follow",
"regtest:logs": "npm run regtest:logs:ng:native:jmwalletd",
"regtest:logs:obwatch": "npm run regtest:logs:ng:obwatch",
"regtest:logs:directory_node": "npm run regtest:logs:ng:directory_node",
"regtest:logs:ng:native:jmwalletd": "docker logs -f jm_regtest_joinmarket",
"regtest:logs:ng:obwatch": "docker logs -f jm_regtest_joinmarket_ng_orderbook_watcher",
"regtest:logs:ng:directory_node": "docker logs -f jm_regtest_joinmarket_ng_directory_node",
"regtest:logs:clientserver:directory_node": "docker exec -t jm_regtest_joinmarket_clientserver_directory_node tail -f /var/log/jam/directory_node_stdout.log -n 200",
"regtest:logs:clientserver:native:jmwalletd": "docker exec -t jm_regtest_joinmarket3 tail -f /var/log/jam/jmwalletd_stdout.log",
"regtest:logs:clientserver:native:tor": "docker exec -t jm_regtest_joinmarket3 tail -f /var/log/jam/tor_stdout.log",
"regtest:logs:clientserver:native:schedule": "docker exec -t jm_regtest_joinmarket3 tail -f /root/.joinmarket/logs/TUMBLE.schedule",
"regtest:init": "./docker/regtest/init-setup.sh",
"regtest:mine": "watch -n 11 ./docker/regtest/mine-block.sh",
"regtest:listwallets": "docker exec -t jm_regtest_bitcoind bitcoin-cli -datadir=/home/bitcoin/data -regtest -rpcport=43782 listwallets"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,md}": "prettier --write"
},
"browserslist": {
"production": [
"> 0.5%",
"last 2 versions",
"not dead",
"not op_mini all"
]
},
"dependencies": {
"@hookform/resolvers": "5.4.0",
"@joinmarket-webui/joinmarket-ng-api-ts": "1.0.0",
"@noble/hashes": "2.2.0",
"@radix-ui/react-accordion": "1.2.20",
"@radix-ui/react-avatar": "1.2.6",
"@radix-ui/react-checkbox": "1.3.11",
"@radix-ui/react-dialog": "1.1.23",
"@radix-ui/react-dropdown-menu": "2.1.24",
"@radix-ui/react-label": "2.1.15",
"@radix-ui/react-popover": "1.1.23",
"@radix-ui/react-radio-group": "1.4.7",
"@radix-ui/react-select": "2.3.7",
"@radix-ui/react-separator": "1.1.15",
"@radix-ui/react-slider": "1.4.7",
"@radix-ui/react-slot": "1.3.3",
"@radix-ui/react-switch": "1.3.7",
"@radix-ui/react-tabs": "1.1.21",
"@radix-ui/react-tooltip": "1.2.16",
"@scure/bip32": "2.2.0",
"@scure/bip39": "2.2.0",
"@tailwindcss/vite": "4.3.3",
"@tanstack/match-sorter-utils": "8.19.4",
"@tanstack/react-query": "5.101.4",
"@tanstack/react-table": "8.21.3",
"bitcoin-address-validation": "3.0.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"html5-qrcode": "2.3.8",
"i18next-browser-languagedetector": "8.2.1",
"lucide-react": "1.26.0",
"next-themes": "0.4.6",
"qrcode": "1.5.4",
"radix-ui": "1.6.7",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-hook-form": "7.83.0",
"react-i18next": "17.0.11",
"react-router-dom": "7.18.1",
"react-use-websocket": "4.13.0",
"sonner": "2.0.7",
"tailwind-merge": "3.6.0",
"tailwindcss": "4.3.3",
"tw-animate-css": "1.4.0",
"yup": "1.7.1",
"zustand": "5.0.14"
},
"devDependencies": {
"@chromatic-com/storybook": "5.2.1",
"@eslint/js": "9.39.5",
"@playwright/test": "1.61.1",
"@storybook/addon-a11y": "10.5.4",
"@storybook/addon-docs": "10.5.4",
"@storybook/addon-vitest": "10.5.4",
"@storybook/react-vite": "10.5.4",
"@tanstack/eslint-plugin-query": "5.101.4",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@trivago/prettier-plugin-sort-imports": "6.0.2",
"@types/node": "26.1.1",
"@types/qrcode": "1.5.6",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.4",
"@vitest/browser": "4.1.10",
"@vitest/browser-playwright": "4.1.10",
"@vitest/coverage-v8": "4.1.10",
"conventional-changelog": "8.1.0",
"eslint": "9.39.5",
"eslint-plugin-compat": "7.0.2",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.3",
"eslint-plugin-storybook": "10.5.4",
"eslint-plugin-unicorn": "65.0.1",
"globals": "17.7.0",
"husky": "9.1.7",
"jsdom": "29.1.1",
"lint-staged": "17.2.0",
"msw": "2.15.0",
"msw-storybook-addon": "2.0.7",
"prettier": "3.9.6",
"prettier-plugin-tailwindcss": "0.8.1",
"storybook": "10.5.4",
"typescript": "6.0.3",
"typescript-eslint": "8.65.0",
"vite": "8.1.5",
"vitest": "4.1.10"
},
"overrides": {
"storybook": "$storybook",
"@joinmarket-webui/joinmarket-ng-api-ts": {
"@tanstack/react-query": "$@tanstack/react-query"
}
},
"msw": {
"workerDirectory": [
"public"
]
}
}