-
Notifications
You must be signed in to change notification settings - Fork 108
/
package.json
295 lines (295 loc) · 11.7 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
291
292
293
294
295
{
"name": "@audius/web",
"productName": "Audius",
"description": "The Audius web client reference implementation",
"author": "Audius",
"version": "1.5.108",
"private": true,
"scripts": {
"DEV & BUILD========================================": "",
"analyze": "env-cmd ./env/.env.bundle npm run build:prod",
"analyze:ssr": "env-cmd ./env/.env.bundle npm run build:ssr:prod",
"bundlesize:stage": "bundlesize --config bundlesize.stage.config.json",
"bundlesize:prod": "bundlesize --config bundlesize.prod.config.json",
"build:dev": "env-cmd ./env/.env.dev turbo run build && rm -rf build-development && mv build build-development",
"build:prod-source-maps": "env-cmd ./env/.env.prod env-cmd ./env/.env.source-maps turbo run build && rm -rf build-production && mv build build-production",
"build:prod": "env-cmd ./env/.env.prod turbo run build && rm -rf build-production && mv build build-production",
"build:ssr:dev": "env-cmd ./env/.env.dev env-cmd ./env/.env.ssr turbo run build && rm -rf build-ssr-development && mv build-ssr build-ssr-development",
"build:ssr:prod": "env-cmd ./env/.env.prod env-cmd ./env/.env.ssr turbo run build && rm -rf build-ssr-production && mv build-ssr build-ssr-production",
"build:ssr:stage": "env-cmd ./env/.env.stage env-cmd ./env/.env.ssr turbo run build && rm -rf build-ssr-staging && mv build-ssr build-ssr-staging",
"build:stage": "env-cmd ./env/.env.stage turbo run build && rm -rf build-staging && mv build build-staging",
"build": "npm run write-sha && NODE_OPTIONS=--max-old-space-size=8192 env-cmd ./env/.env.git vite build",
"lint:fix": "eslint --cache --fix --ext=js,jsx,ts,tsx src",
"lint": "eslint --cache --ext=js,jsx,ts,tsx src",
"lint:env": "dotenv-linter env",
"prebuild": "npm run publish-scripts",
"preview:prod": "npm run build:prod && env-cmd ./env/.env.prod vite preview --outDir build-production",
"preview:stage": "npm run build:stage && env-cmd ./env/.env.stage vite preview --outDir build-staging",
"preview:stage:ci": "env-cmd ./env/.env.stage vite preview --outDir build-staging",
"preview:dev": "npm run build:dev && env-cmd ./env/.env.dev vite preview --outDir build-development",
"publish-scripts": "./scripts/publishScripts.sh",
"start:dev": "env-cmd --no-override ./env/.env.dev env-cmd ./env/.env.ssr turbo run start",
"start:prod": "env-cmd --no-override ./env/.env.prod env-cmd ./env/.env.ssr env-cmd ./env/.env.source-maps turbo run start",
"start:stage": "env-cmd --no-override ./env/.env.stage env-cmd ./env/.env.ssr turbo run start",
"start:spa:dev": "env-cmd --no-override ./env/.env.dev turbo run start",
"start:spa:prod": "env-cmd --no-override ./env/.env.prod env-cmd ./env/.env.source-maps turbo run start",
"start:spa:stage": "env-cmd --no-override ./env/.env.stage turbo run start",
"start": "npm run write-sha && npm run publish-scripts && env-cmd ./env/.env.git vite",
"stylelint:fix": "npm run stylelint -- --fix",
"stylelint": "stylelint 'src/**/*.css'",
"test:e2e": "npx playwright test",
"test:coverage": "vitest --resetMocks=false --coverage --watchAll=false",
"test": "vitest",
"typecheck:watch": "tsc --watch",
"typecheck": "tsc",
"verify": "concurrently \"npm:typecheck\" \"npm:lint\" \"npm:stylelint\" \"npm:lint:env\"",
"worker-ssr:dev": "npx wrangler dev --env test --config ./src/ssr/wrangler.toml",
"worker:dev": "npx wrangler dev --env test",
"write-sha": "./scripts/writeSHA.sh",
"pw-ui": "npx playwright test --ui",
"pw": "npx playwright test",
"ELECTRON========================================": "",
"dist-publish-production": "npm run dist -- --mac --win --linux --publish always --env production",
"dist-publish": "npm run dist -- --mac --win --linux --publish always",
"dist:all": "npm run dist -- --mac --win --linux",
"dist:linux-publish-production": "npm run dist -- --linux --publish always --env production",
"dist:linux-publish": "npm run dist -- --linux --publish always",
"dist:linux": "npm run dist -- --linux",
"dist:mac-publish-production": "npm run dist -- --mac --publish always --env production",
"dist:mac-publish": "npm run dist -- --mac --publish always",
"dist:mac": "npm run dist -- --mac",
"dist:win-publish-production": "npm run dist -- --win --publish always --env production",
"dist:win-publish": "npm run dist -- --win --publish always",
"dist:win:linux-publish-production": "npm run dist -- --win --linux --publish always --env production",
"dist:win:linux-publish": "npm run dist -- --win --linux --publish always",
"dist:win": "npm run dist -- --win",
"dist": "node ./scripts/dist.js",
"electron:localhost": "electron . localhost",
"electron:prod": "electron . production",
"electron:stage": "electron . staging",
"install-dmg-license": "npm add dmg-license -w @audius/web",
"pack": "electron-builder --dir"
},
"dependencies": {
"@audius/common": "*",
"@audius/fetch-nft": "0.2.7",
"@audius/fixed-decimal": "*",
"@audius/harmony": "*",
"@audius/sdk": "*",
"@audius/sdk-legacy": "*",
"@audius/trpc-server": "*",
"@cloudflare/kv-asset-handler": "0.2.0",
"@coinbase/cbpay-js": "1.2.0",
"@coinflowlabs/react": "3.1.5",
"@emotion/css": "11.11.2",
"@emotion/react": "11.11.1",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.11.0",
"@fingerprintjs/fingerprintjs-pro": "3.5.6",
"@google/model-viewer": "3.3.0",
"@hcaptcha/react-hcaptcha": "0.3.6",
"@juggle/resize-observer": "^3.3.1",
"@jup-ag/api": "6.0.6",
"@metamask/eth-sig-util": "7.0.0",
"@noble/hashes": "1.1.4",
"@noble/secp256k1": "1.7.0",
"@optimizely/optimizely-sdk": "4.9.2",
"@project-serum/anchor": "0.24.2",
"@project-serum/sol-wallet-adapter": "0.2.5",
"@radix-ui/react-slot": "1.0.2",
"@react-spring/web": "9.7.2",
"@reduxjs/toolkit": "1.6.1",
"@sentry/browser": "7.117.0",
"@sentry/cli": "2.31.2",
"@solana/spl-token": "0.3.8",
"@solana/web3.js": "1.93.4",
"@stripe/crypto": "0.0.4",
"@stripe/stripe-js": "1.54.1",
"@tanstack/react-query": "4.35.7",
"@tanstack/react-query-devtools": "4.35.0",
"@trpc/client": "10.38.4",
"@trpc/react-query": "10.38.4",
"@types/react-dates": "21.8.3",
"@types/react-twitter-auth": "0.0.4",
"@walletconnect/web3-provider": "1.4.1",
"ajv": "7.2.4",
"amplitude-js": "8.10.0",
"antd": "4.20.6",
"array-pack-2d": "0.1.1",
"array-range": "1.0.1",
"bitski": "0.10.9",
"bn.js": "5.1.0",
"body-scroll-lock": "4.0.0-beta.0",
"bs58": "5.0.0",
"canvas-loop": "1.0.7",
"chart.js": "2.9.3",
"clamp": "1.0.1",
"classnames": "2.2.6",
"client-zip": "2.4.4",
"connected-react-router": "6.9.3",
"cross-fetch": "^4.0.0",
"dayjs": "1.10.7",
"electron-log": "5.2.0",
"electron-updater": "6.3.9",
"exif-parser": "0.1.12",
"formik": "2.4.6",
"gl-audio-analyser": "1.0.3",
"gl-buffer": "2.1.2",
"gl-mat4": "1.2.0",
"gl-quad": "1.1.3",
"gl-shader": "4.2.1",
"gl-shader-core": "2.2.0",
"gl-vao": "1.3.0",
"glsl-noise": "0.0.0",
"glsl-random": "0.0.4",
"hashids": "2.2.1",
"hex-rgb": "1.0.0",
"history": "4.10.1",
"idb-keyval": "3.2.0",
"inherits": "2.0.4",
"jimp": "0.6.8",
"js-sha3": "0.8.0",
"js-yaml": "3.13.1",
"jsmediatags": "3.8.1",
"lerp": "1.0.3",
"linkify-react": "^4.1.0",
"linkifyjs": "4.1.0",
"localforage": "1.10.0",
"lodash": "4.17.21",
"markdown-to-jsx": "7.4.3",
"numeral": "2.0.6",
"orbit-controls": "0.0.1",
"perspective-camera": "2.0.1",
"prop-types": "15.7.2",
"query-string": "6.13.5",
"react": "18.3.1",
"react-beautiful-dnd": "13.1.1",
"react-chartjs-2": "2.9.0",
"react-dates": "18.5.0",
"react-dom": "18.3.1",
"react-dropzone": "6.2.4",
"react-error-boundary": "3.1.4",
"react-helmet": "6.1.0",
"react-infinite-scroller": "1.2.6",
"react-lottie": "1.2.3",
"react-merge-refs": "2.0.1",
"react-qr-code": "2.0.12",
"react-redux": "8.0.5",
"react-router-dom": "5.3.4",
"react-router-dom-v5-compat": "6.22.3",
"react-router-last-location": "2.0.1",
"react-scroll-parallax": "3.3.2",
"react-spring": "8.0.27",
"react-table": "7.8.0",
"react-twitter-auth": "0.0.13",
"react-twitter-embed": "4.0.4",
"react-use": "15.3.8",
"react-use-gesture": "7.0.0-beta.5",
"react-use-measure": "2.1.1",
"react-virtualized": "9.22.3",
"redux": "4.1.1",
"redux-devtools-extension": "2.13.8",
"redux-persist": "6.0.0",
"redux-saga": "1.1.3",
"redux-sentry-middleware": "0.1.8",
"redux-thunk": "2.4.2",
"reselect": "4.0.0",
"scrollbar-width": "3.1.1",
"semver": "6.3.0",
"tar": "6.1.11",
"toucan-js": "3.3.1",
"type-fest": "4.26.1",
"typed-redux-saga": "1.3.1",
"typesafe-actions": "5.1.0",
"vike": "0.4.150",
"vike-react": "^0.3.7",
"walletlink": "2.0.3",
"web-vitals": "0.2.2",
"web3modal": "1.9.3",
"webgl-context": "2.2.0",
"zod-formik-adapter": "1.2.0",
"zustand": "4.4.3"
},
"main": "src/electron.js",
"build": {
"extends": null
},
"devDependencies": {
"@audius/dotenv-linter": "*",
"@electron/notarize": "2.2.0",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@pinata/sdk": "1.1.13",
"@playwright/test": "1.42.1",
"@redux-devtools/extension": "3.2.4",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.2.2",
"@types/amplitude-js": "8.0.2",
"@types/bn.js": "5.1.0",
"@types/body-scroll-lock": "2.6.1",
"@types/classnames": "2.2.10",
"@types/eth-sig-util": "2.1.1",
"@types/js-yaml": "3.12.4",
"@types/jsmediatags": "3.9.1",
"@types/linkifyjs": "2.1.3",
"@types/lodash": "4.14.149",
"@types/node": "12.12.35",
"@types/numeral": "^2.0.2",
"@types/react": "18.3.1",
"@types/react-beautiful-dnd": "13.1.3",
"@types/react-dates": "21.8.3",
"@types/react-dom": "18.3.1",
"@types/react-helmet": "6.1.6",
"@types/react-infinite-scroller": "1.2.1",
"@types/react-lottie": "1.2.3",
"@types/react-native-push-notification": "3.0.8",
"@types/react-router-dom": "5.3.3",
"@types/react-table": "7.7.12",
"@types/react-virtualized": "9.21.21",
"@types/redux-sentry-middleware": "0.2.1",
"@types/resize-observer-browser": "0.1.7",
"@vitejs/plugin-react-swc": "3.5.0",
"abort-controller": "3.0.0",
"armada-cli": "0.4.0",
"assert": "^2.0.0",
"base64url": "3.0.1",
"browserify-zlib": "0.2.0",
"buffer": "6.0.3",
"bundlesize": "0.18.2",
"commander": "2.20.3",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"csstype": "3.1.1",
"electron": "33.0.0",
"electron-builder": "25.1.8",
"env-cmd": "8.0.2",
"eslint": "8.56.0",
"fetch-mock": "9.9.1",
"fs-extra": "8.1.0",
"https-browserify": "^1.0.0",
"jest-canvas-mock": "2.5.2",
"net-browserify": "^0.2.4",
"node-fetch": "2.6.1",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"redux-saga-test-plan": "4.0.4",
"rollup-plugin-visualizer": "5.9.2",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"stylelint": "14.3.0",
"stylelint-config-css-modules": "2.3.0",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-standard": "24.0.0",
"stylelint-prettier": "2.0.0",
"terser": "4.8.0",
"tls": "0.0.1",
"tls-browserify": "^0.2.2",
"typescript": "5.0.4",
"typescript-plugin-css-modules": "^3.4.0",
"url": "^0.11.0",
"vite": "4.5.0",
"vite-plugin-glslify": "2.0.2",
"vite-plugin-svgr": "4.1.0",
"vitest": "0.34.6"
}
}