mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
92 lines
3.4 KiB
JSON
92 lines
3.4 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev:http": "yarn prepare:http && vite",
|
|
"dev:wails": "yarn prepare:wails && vite",
|
|
"build:http": "yarn prepare:http && tsc && vite build",
|
|
"build:wails": "yarn prepare:wails && tsc && vite build",
|
|
"prepare:wails": "shx cp ./platform_specific/wails/src/utils/*.ts src/utils/",
|
|
"prepare:http": "shx cp ./platform_specific/http/src/utils/*.ts src/utils/",
|
|
"lint": "yarn lint:js && yarn tsc:compile && yarn format:fix --report-unused-disable-directives --max-warnings 0",
|
|
"lint:js": "eslint src --max-warnings 0",
|
|
"lint:js:fix": "eslint src --fix",
|
|
"tsc:compile": "tsc --noEmit",
|
|
"format": "prettier --check '**/*.(md|json)' 'src/**/*.(js|ts|tsx)' '!src/assets/**/*.json' 'platform_specific/**/*.ts'",
|
|
"format:fix": "prettier --loglevel silent --write '**/*.(md|json)' 'src/**/*.(js|ts|tsx)' '!src/assets/**/*.json' 'platform_specific/**/*.ts'",
|
|
"preview": "vite preview",
|
|
"prepare": "cd .. && husky frontend/.husky"
|
|
},
|
|
"dependencies": {
|
|
"@getalby/bitcoin-connect-react": "^3.4.1",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-navigation-menu": "^1.1.4",
|
|
"@radix-ui/react-progress": "^1.0.3",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-separator": "^1.0.3",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
"@scure/bip39": "^1.2.2",
|
|
"argon2-wasm-esm": "^1.0.3",
|
|
"canvas-confetti": "^1.9.2",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.0",
|
|
"dayjs": "^1.11.10",
|
|
"embla-carousel-react": "^8.0.2",
|
|
"gradient-avatar": "^1.0.2",
|
|
"lucide-react": "^0.363.0",
|
|
"posthog-js": "^1.116.6",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-lottie": "^1.2.4",
|
|
"react-qr-code": "^2.0.12",
|
|
"react-router-dom": "^6.21.0",
|
|
"swr": "^2.2.4",
|
|
"tailwind-merge": "^2.2.2",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zustand": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.3.0",
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
"@eslint/compat": "^1.0.3",
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@eslint/js": "^9.4.0",
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
"@tailwindcss/forms": "^0.5.7",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@types/canvas-confetti": "^1.6.4",
|
|
"@types/node": "^20.10.8",
|
|
"@types/react": "^18.2.15",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@types/react-lottie": "^1.2.10",
|
|
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
"@typescript-eslint/parser": "^7.11.0",
|
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
"autoprefixer": "^10.4.16",
|
|
"eslint": "^9.4.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
"globals": "^15.4.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.5",
|
|
"postcss": "^8.4.32",
|
|
"prettier": "3.2.5",
|
|
"shx": "^0.3.4",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.5.3",
|
|
"vite-tsconfig-paths": "^4.3.2"
|
|
}
|
|
}
|