forked from solana-labs/governance-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
290 lines (290 loc) · 10.9 KB
/
package.json
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
{
"name": "@solana/governance-ui",
"author": "Solana Maintainers <[email protected]>",
"license": "MIT",
"version": "1.0.0",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"prepare": "husky install",
"analyze": "ANALYZE=true next build",
"tc": "yarn type-check --watch",
"type-check": "tsc --pretty --noEmit --skipLibCheck",
"format": "prettier --write .",
"lint": "eslint . --ext ts --ext tsx --ext js --ext jsx",
"test": "jest",
"test-all": "yarn lint && yarn type-check && yarn test",
"notifier": "ts-node scripts/governance-notifier.ts",
"setup": "yarn install && yarn allow-scripts && yarn bigint-fix",
"ci": "yarn install --frozen-lockfile --network-concurrency 1 --color=always && yarn allow-scripts && yarn bigint-fix",
"deduplicate": "npx yarn-deduplicate",
"bigint-fix": "cd node_modules/bigint-buffer && yarn rebuild && cd ../../",
"postinstall": "echo '\\033[35mIf you just added a package, consider running `\\033[1m\\033[36;1myarn deduplicate` \\033[0m\\033[35mto check for duplicates!\\033[00m\n \\033[35malso make sure scripts run by new packages are reviewed and added in the allowScripts section. Then run `\\033[1m\\033[36;1myarn allow-scripts\\033[0m\\033[35m`!\\033[00m'",
"create-proposal": "ts-node cli/createProposalScript.ts"
},
"lint-staged": {
"*.@(ts|tsx|js|jsx)": [
"yarn format"
]
},
"dependencies": {
"@blockworks-foundation/mango-mints-redemption": "0.0.11",
"@blockworks-foundation/mango-v4": "0.33.4",
"@blockworks-foundation/mango-v4-settings": "0.14.24",
"@blockworks-foundation/mangolana": "0.0.18",
"@bonfida/spl-name-service": "0.1.47",
"@bundlr-network/client": "0.7.15",
"@carbon/icons-react": "11.7.0",
"@civic/profile": "^0.5.0-beta.1",
"@civic/solana-gateway-react": "^0.16.10",
"@coral-xyz/anchor": "0.29.0",
"@coral-xyz/borsh": "0.27.0",
"@dialectlabs/react-sdk-blockchain-solana": "^2.0.3",
"@dialectlabs/react-ui": "^2.0.7",
"@dual-finance/airdrop": "0.3.1",
"@dual-finance/gso": "0.0.17",
"@dual-finance/staking-options": "0.0.26",
"@emotion/react": "11.9.0",
"@emotion/styled": "11.8.1",
"@headlessui/react": "1.6.6",
"@helium/helium-sub-daos-sdk": "0.0.44",
"@helium/idls": "0.0.44",
"@helium/spl-utils": "0.0.44",
"@helium/voter-stake-registry-sdk": "0.0.44",
"@heroicons/react": "1.0.6",
"@hookform/resolvers": "2.8.10",
"@identity.com/sol-did-client": "3.3.0",
"@jup-ag/referral-sdk": "0.1.5",
"@marinade.finance/marinade-ts-sdk": "2.0.9",
"@mean-dao/payment-streaming": "4.0.3",
"@metaplex-foundation/js": "0.19.4",
"@metaplex-foundation/mpl-token-metadata": "2.10.0",
"@multifarm/solana-realms": "1.0.6",
"@next/bundle-analyzer": "12.1.5",
"@nivo/bar": "0.79.1",
"@nivo/core": "0.79.0",
"@parcl-oss/staking": "0.0.2",
"@project-serum/common": "0.0.1-beta.3",
"@project-serum/serum": "0.13.65",
"@project-serum/sol-wallet-adapter": "0.2.6",
"@pythnetwork/client": "2.17.0",
"@pythnetwork/staking": "2.3.1",
"@radix-ui/react-accordion": "1.0.0",
"@radix-ui/react-aspect-ratio": "1.0.0",
"@radix-ui/react-dialog": "1.0.0",
"@radix-ui/react-dropdown-menu": "1.0.0",
"@radix-ui/react-hover-card": "1.0.0",
"@radix-ui/react-navigation-menu": "1.0.0",
"@radix-ui/react-popover": "1.0.2",
"@radix-ui/react-progress": "1.0.1",
"@radix-ui/react-radio-group": "1.1.0",
"@radix-ui/react-select": "1.0.0",
"@radix-ui/react-separator": "1.0.0",
"@radix-ui/react-slider": "1.1.0",
"@radix-ui/react-tabs": "1.0.0",
"@radix-ui/react-toast": "1.0.0",
"@radix-ui/react-toolbar": "1.0.0",
"@radix-ui/react-tooltip": "1.0.0",
"@realms-today/spl-governance": "0.3.29",
"@sentry/nextjs": "7.81.1",
"@solana-mobile/wallet-adapter-mobile": "2.0.0",
"@solana/buffer-layout": "4.0.0",
"@solana/governance-program-library": "npm:@civic/[email protected]",
"@solana/spl-account-compression": "~0.2.0",
"@solana/spl-governance": "0.3.28",
"@solana/spl-stake-pool": "1.1.5",
"@solana/spl-token": "0.1.8",
"@solana/wallet-adapter-backpack": "0.1.13",
"@solana/wallet-adapter-base": "0.9.22",
"@solana/wallet-adapter-exodus": "0.1.17",
"@solana/wallet-adapter-glow": "0.1.17",
"@solana/wallet-adapter-phantom": "0.9.22",
"@solana/wallet-adapter-react": "0.15.32",
"@solana/wallet-adapter-solflare": "0.6.28",
"@solana/wallet-adapter-sollet": "0.11.16",
"@solana/wallet-adapter-torus": "0.11.27",
"@solana/wallet-adapter-walletconnect": "0.1.16",
"@solana/wallet-adapter-wallets": "0.19.16",
"@solana/web3.js": "1.78.8",
"@solendprotocol/solend-sdk": "0.5.5",
"@sqds/iframe-adapter": "1.0.16",
"@sqds/mesh": "1.0.6",
"@switchboard-xyz/sbv2-lite": "0.2.4",
"@switchboard-xyz/solana.js": "3.2.5",
"@symmetry-hq/baskets-sdk": "0.0.45",
"@tailwindcss/forms": "0.5.3",
"@tailwindcss/line-clamp": "0.4.2",
"@tanstack/react-query": "4.14.3",
"@tippyjs/react": "4.2.6",
"@types/ramda": "0.28.15",
"@urql/exchange-auth": "1.0.0",
"@urql/exchange-graphcache": "5.0.1",
"@urql/exchange-multipart-fetch": "1.0.1",
"@urql/exchange-persisted-fetch": "2.0.0",
"@urql/exchange-request-policy": "1.0.0",
"add-to-calendar-button-react": "2.6.13",
"arweave": "1.11.4",
"axios": "0.26.1",
"bignumber.js": "9.0.2",
"borsh": "0.7.0",
"buffer-layout": "1.2.2",
"chalk": "4.1.2",
"classnames": "2.3.1",
"clsx": "1.2.1",
"d3": "7.4.4",
"date-fns": "2.29.2",
"dayjs": "1.11.1",
"decimal.js": "10.4.3",
"draft-js": "0.11.7",
"figlet": "1.5.2",
"fp-ts": "2.12.2",
"graphql": "16.5.0",
"immer": "9.0.15",
"io-ts": "2.2.18",
"libphonenumber-js": "1.10.6",
"localforage": "1.10.0",
"lodash": "4.17.21",
"next": "12.3.2",
"next-themes": "0.1.1",
"next-transpile-modules": "9.1.0",
"promptly": "3.2.0",
"psyfi-euros-test": "0.0.1-rc.33",
"qr-code-styling": "1.6.0-rc.1",
"ramda": "0.28.0",
"rc-slider": "9.7.5",
"react": "18.2.0",
"react-async-hook": "4.0.0",
"react-content-loader": "6.2.1",
"react-dom": "18.0.0",
"react-dropzone": "14.2.2",
"react-easy-sort": "1.5.0",
"react-headless-pagination": "0.1.0",
"react-hook-form": "7.31.3",
"react-icons": "4.11.0",
"react-intersection-observer": "9.5.3",
"react-markdown": "7.0.0",
"react-portal": "4.2.2",
"react-responsive": "9.0.0-beta.10",
"react-virtualized-auto-sizer": "1.0.6",
"react-window": "1.8.10",
"remark-gfm": "3.0.1",
"superstruct": "1.0.4",
"swr": "1.3.0",
"tailwind-merge": "1.6.0",
"ts-node": "10.9.1",
"tsconfig-paths": "3.14.1",
"urql": "3.0.3",
"yup": "0.32.11",
"zustand": "3.7.2"
},
"devDependencies": {
"@lavamoat/allow-scripts": "2.3.0",
"@lavamoat/preinstall-always-fail": "1.0.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "11.2.5",
"@types/carbon__icons-react": "11.7.0",
"@types/d3": "7.4.0",
"@types/jest": "29.2.0",
"@types/js-cookie": "3.0.2",
"@types/node": "14.14.25",
"@types/react": "17.0.44",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"eslint": "9.9.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-unused-imports": "4.1.3",
"husky": "8.0.1",
"jest": "29.2.0",
"jest-environment-jsdom": "29.2.2",
"lint-staged": "10.0.10",
"next-router-mock": "0.6.7",
"postcss": "8.4.12",
"postcss-preset-env": "6.7.0",
"prettier": "2.2.1",
"tailwindcss": "3.0.23",
"ts-jest": "29.0.3",
"ts-loader": "9.3.1",
"twin.macro": "2.4.0",
"typescript": "5.5.4",
"yarn-deduplicate": "6.0.0"
},
"babelMacros": {
"twin": {
"preset": "emotion"
}
},
"resolutions": {
"@babel/traverse": ">=7.23.2",
"port-sdk/@saberhq/token-utils": "1.12.53",
"react": "18.2.0",
"@solana/spl-token-registry": "0.2.3775",
"@solana/buffer-layout": "4.0.0",
"bn.js": "5.1.3",
"@types/bn.js": "5.1.0",
"@project-serum/sol-wallet-adapter": "0.2.6",
"@project-serum/serum": "0.13.65",
"@coral-xyz/anchor": "0.29.0",
"@coral-xyz/borsh": "0.27.0",
"bignumber.js": "9.0.2",
"lodash": "4.17.21",
"**/@cardinal/certificates/mocha": "10.1.0",
"**/@cardinal/stake-pool/mocha": "10.1.0",
"@sentry/nextjs/**/ansi-regex": "3.0.1",
"ansi-regex": ">=3.0.1 <=5.0.1",
"@nivo/core/**/d3-color": "3.1.0",
"@nivo/bar/**/d3-color": "3.1.0",
"dset": "3.1.2",
"**/@solana/spl-token-registry/cross-fetch/node-fetch": "2.6.7",
"**/@blockworks-foundation/mangolana/node-fetch": "npm:@blockworks-foundation/[email protected]",
"@bonfida/spl-name-service": "0.1.47",
"@bundlr-network/client": "0.7.15",
"@carbon/icons-react": "11.7.0",
"@cardinal/namespaces-components": "2.5.5",
"crypto-js": ">=4.1.1",
"@solana/web3.js": "1.78.8",
"protobufjs": ">=7.2.5"
},
"browser": {
"child_process": false
},
"browserslist": [
"chrome >= 67",
"edge >= 79",
"firefox >= 68",
"opera >= 54",
"safari >= 14"
],
"lavamoat": {
"allowScripts": {
"$root$": false,
"@bundlr-network/client>arbundles>keccak": true,
"@bundlr-network/client>arbundles>secp256k1": true,
"@carbon/icons-react": false,
"@civic/solana-gateway-react>@civic/common-gateway-react>styled-components": false,
"@lavamoat/preinstall-always-fail": false,
"@sentry/nextjs>@sentry/webpack-plugin>@sentry/cli": false,
"@solana/wallet-adapter-torus>@toruslabs/solana-embed>@toruslabs/base-controllers>@toruslabs/broadcast-channel>@toruslabs/eccrypto": true,
"@solana/wallet-adapter-torus>@toruslabs/solana-embed>@toruslabs/base-controllers>@toruslabs/broadcast-channel>@toruslabs/eccrypto>secp256k1": true,
"@solana/wallet-adapter-torus>@toruslabs/solana-embed>@toruslabs/base-controllers>@toruslabs/broadcast-channel>microtime": true,
"@solana/web3.js>bigint-buffer": false,
"@solana/web3.js>rpc-websockets>bufferutil": true,
"@solana/web3.js>rpc-websockets>utf-8-validate": true,
"@testing-library/react>@testing-library/dom>aria-query>@babel/runtime-corejs3>core-js-pure": false,
"draft-js>fbjs>core-js": false,
"@switchboard-xyz/solana.js>@switchboard-xyz/common>protobufjs": false,
"@blockworks-foundation/mango-v4>@raydium-io/raydium-sdk>tsup>esbuild": true,
"@blockworks-foundation/mangolana>@solana/web3.js>bigint-buffer": true,
"@blockworks-foundation/mangolana>ws>bufferutil": true,
"@blockworks-foundation/mangolana>ws>utf-8-validate": true
}
},
"volta": {
"node": "18.19.0",
"yarn": "1.22.19"
}
}