2779b5d28a
* new password flow * update global error and load state from children * fix linting * dont load account when creating mnemonic * wallets: provide placeholder functions for ui password * wallet: platform_constants * wallet: swap println to log * UI for existing mnemonic to be use * wallet: inline encryption of wallet file * wallet: tweak error enum names * wallet: general wallet_storage tidy * wallet: tweak some type names * create sign-in context * update sign in functions * move state to context * update pages * connect new rust methods with frontend * update components * remove non-existent method * add separate sign in pages for mnemonic and password * add a hook for clipboard copy * fix workmark svg sizing issue * create step component * use new sign in pages * reorder pages * use clipboard lib directly * ui tweaks * use login type selector * update password strength test + use autofocus prop for password input * start adding routes * restructure with routes * wip * more wip * more wip * reset state where required * wallet: remove unused rust use statements * fix unbond page Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk> Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com> Co-authored-by: Tommy Verrall <tommyvez@protonmail.com>
119 lines
4.0 KiB
JSON
119 lines
4.0 KiB
JSON
{
|
|
"name": "@nymproject/nym-wallet-app",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prewebpack:dev": "yarn --cwd .. build",
|
|
"webpack:dev": "yarn webpack serve --config webpack.dev.js",
|
|
"webpack:prod": "yarn webpack --progress --config webpack.prod.js",
|
|
"tauri:dev": "yarn tauri dev",
|
|
"tauri:build": "yarn tauri build",
|
|
"tsc": "tsc --noEmit true",
|
|
"tsc:watch": "tsc --noEmit true --watch",
|
|
"dev": "yarn run webpack:dev & yarn run tauri:dev",
|
|
"prebuild": "yarn --cwd .. build",
|
|
"build": "run-s webpack:prod tauri:build",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"prestorybook": "yarn --cwd .. build",
|
|
"storybook": "start-storybook -p 6006",
|
|
"storybook:build": "build-storybook"
|
|
},
|
|
"dependencies": {
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@emotion/react": "^11.7.0",
|
|
"@emotion/styled": "^11.6.0",
|
|
"@hookform/resolvers": "^2.8.0",
|
|
"@mui/icons-material": "^5.2.0",
|
|
"@mui/material": "^5.2.2",
|
|
"@mui/styles": "^5.2.2",
|
|
"@nymproject/mui-theme": "^1.0.0",
|
|
"@nymproject/react": "^1.0.0",
|
|
"@tauri-apps/api": "^1.0.0-rc.1",
|
|
"bs58": "^4.0.1",
|
|
"clsx": "^1.1.1",
|
|
"date-fns": "^2.28.0",
|
|
"notistack": "^2.0.3",
|
|
"qrcode.react": "^1.0.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-error-boundary": "^3.1.3",
|
|
"react-hook-form": "^7.14.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"semver": "^6.3.0",
|
|
"use-clipboard-copy": "^0.2.0",
|
|
"yup": "^0.32.9"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.14.5",
|
|
"@babel/preset-env": "^7.15.0",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@nymproject/eslint-config-react-typescript": "^1.0.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
"@storybook/addon-actions": "^6.4.19",
|
|
"@storybook/addon-essentials": "^6.4.19",
|
|
"@storybook/addon-interactions": "^6.4.19",
|
|
"@storybook/addon-links": "^6.4.19",
|
|
"@storybook/react": "^6.4.19",
|
|
"@storybook/testing-library": "^0.0.9",
|
|
"@svgr/webpack": "^6.1.1",
|
|
"@tauri-apps/cli": "^1.0.0-rc.5",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/bs58": "^4.0.1",
|
|
"@types/jest": "^27.0.1",
|
|
"@types/node": "^16.7.13",
|
|
"@types/qrcode.react": "^1.0.2",
|
|
"@types/react": "^17.0.34",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-router": "^5.1.18",
|
|
"@types/react-router-dom": "^5.1.8",
|
|
"@types/semver": "^7.3.8",
|
|
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
"@typescript-eslint/parser": "^5.13.0",
|
|
"babel-loader": "^8.2.2",
|
|
"babel-plugin-root-import": "^6.6.0",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"css-loader": "^6.2.0",
|
|
"css-minimizer-webpack-plugin": "^3.0.2",
|
|
"dotenv-webpack": "^7.0.3",
|
|
"eslint": "^8.10.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-root-import": "^1.0.4",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-jest": "^26.1.1",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.29.2",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-storybook": "^0.5.7",
|
|
"favicons": "^6.2.2",
|
|
"favicons-webpack-plugin": "^5.0.2",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.1",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"jest": "^27.1.0",
|
|
"mini-css-extract-plugin": "^2.2.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "2.3.2",
|
|
"react-refresh": "^0.10.0",
|
|
"react-refresh-typescript": "^2.0.2",
|
|
"style-loader": "^3.2.1",
|
|
"thread-loader": "^3.0.4",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-loader": "^9.2.5",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.6.2",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.64.3",
|
|
"webpack-cli": "^4.8.0",
|
|
"webpack-dev-server": "^4.5.0",
|
|
"webpack-favicons": "^1.3.8",
|
|
"webpack-merge": "^5.8.0"
|
|
}
|
|
}
|