82bfab48a5
* fix initial selected vpn mode * wip * Set gateway config * Init procedure and reading config * Update two comments * add nym-api field to app config * Remove hardcoded RUST_LOG from package.json * Use scope instead of explicit drop * Spawn vpn client in separate thread and separate runtime * Re-set nym-vpn-lib in Cargo.toml * add vpn handle to app state * add vpn client call to disconnect cmd * wip * Setup listener tasks * Read entire env after all * add env config file to app config * doc: add notes on config * refactor env config file as optional * add logic to connection status changes * refactor disconnect command * fix handle click connect button * update doc * add some fake delay to establish connection * localize backend messages * refactor extract registering listeners into modules * add more tracing logs * refactor clean code * refactor clean code * refactor vpn config creation * fix connect app_config read * refactor rename listener functions * add backend support for twohop mode * copy change * base connected status on Ready message Ready message sent from vpn client * filter out specific error * add logs * use exported receiver types from nym_vpn_lib * Handle exit message * Change to nym-vpn for consistency * prefix comment with TODO * update doc * remove nym_api config property use the one provided in the env config file * fix css compile error * log received backend error (frontend) --------- Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com>
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "nym-vpn-ui",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:app": "tauri dev",
|
|
"dev:browser": "vite --mode dev-browser",
|
|
"build": "tsc && vite build",
|
|
"build:app": "yarn tauri build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint --ext .ts,.tsx src/",
|
|
"lint:fix": "eslint --ext .js,.ts --fix src/",
|
|
"fmt": "prettier --write --ignore-unknown \"**/*\"",
|
|
"fmt:check": "prettier --check --ignore-unknown \"**/*\"",
|
|
"typecheck": "tsc --noEmit",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^1.7.17",
|
|
"@headlessui/tailwindcss": "^0.2.0",
|
|
"@mui/base": "^5.0.0-beta.24",
|
|
"@tauri-apps/api": "^1.5.0",
|
|
"clsx": "^2.0.0",
|
|
"dayjs": "^1.11.10",
|
|
"i18next": "^23.7.6",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-i18next": "^13.5.0",
|
|
"react-router-dom": "^6.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^1.5.0",
|
|
"@types/react": "^18.2.37",
|
|
"@types/react-dom": "^18.2.15",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
"@typescript-eslint/parser": "^6.8.0",
|
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
"autoprefixer": "^10.4.16",
|
|
"eslint": "^8.52.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"postcss": "^8.4.31",
|
|
"postcss-import": "^15.1.0",
|
|
"prettier": "^3.0.3",
|
|
"tailwindcss": "^3.3.3",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^5.0.5"
|
|
}
|
|
}
|