b27fa51092
* Chore/browser extension bootstrap (#3257) * init package * set up TS and Webpack * add eslint config * add prettier config * add react and mui theme * add CI * update mui theme version number * Chore/browser extension routes (#3327) * start routes * create layouts * add initial app routes * add initial app pages * add global types * create reuseable components * move password and mnemonic fields to shared react components package * refactor register routes * move client address component to shared package * move components to ui folder * create menu and appbar components * adjust layout components * add readme * use memory router * Feature/nym browser extension login and send (#3373) * init package * set up TS and Webpack * add eslint config * add prettier config * add react and mui theme * add CI * update mui theme version number * Chore/browser extension routes (#3327) * start routes * create layouts * add initial app routes * add initial app pages * add global types * create reuseable components * move password and mnemonic fields to shared react components package * refactor register routes * move client address component to shared package * move components to ui folder * create menu and appbar components * adjust layout components * add readme * use memory router * add extension to mono-repo config * fix webpack build * util functions * add TX type * refactor routes * refactor pages + add send page * add page layout for app pages * set up app context * app components * set up connection config * fix lint errors * Chore/browser extension bootstrap (#3257) * init package * set up TS and Webpack * add eslint config * add prettier config * add react and mui theme * add CI * update mui theme version number * Chore/browser extension routes (#3327) * start routes * create layouts * add initial app routes * add initial app pages * add global types * create reuseable components * move password and mnemonic fields to shared react components package * refactor register routes * move client address component to shared package * move components to ui folder * create menu and appbar components * adjust layout components * add readme * use memory router * add extension to mono-repo config * util functions * add TX type * refactor routes * refactor pages + add send page * add page layout for app pages * set up app context * app components * set up connection config * use fee simulation when sending tokens * use object argument for simulate send api * login validation + fee refinements * use components from shared components lib * add receive modal (#3408) * account storage via wasm * method to get all storage keys * Feature/nym browser extension password encryption (single account) (#3442) * build wasm * reuse components and state for password pages * refactor registration pages * use login with password * import storage as local package * add yarn preinstall script to ts lint gh action * install wasm-pack for CI * use @nym scope for ext storage package * introduced a call to check if database was already initialised (#3465) * introduced a call to check if database was already initialised * use extension storage method to check for db existance --------- Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk> * introduced mnemonic key existence check (#3462) * Browser extension - Multi-accounts + view mnemonic action (#3488) * add UI for multi-accounts + add view mnemonic for accounts * refactor routes * set up import account * add account to existing wallet * check if account name exists before creating new one * handle password errors * add token to currency conversion * fixed ClientStorageError import path * fix CI * fix CI --------- Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
{
|
|
"name": "@nym/browser-extension",
|
|
"version": "0.1.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"preinstall": "yarn build:wasm",
|
|
"dev": "yarn webpack serve --config webpack.dev.js",
|
|
"build": "yarn preinstall && webpack build --progress --config webpack.prod.js",
|
|
"build:wasm": "cd storage && make wasm-pack",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"lint:ts": "tsc --noEmit",
|
|
"storybook": "start-storybook -p 6006",
|
|
"storybook:build": "build-storybook"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.7.0",
|
|
"@emotion/styled": "^11.7.0",
|
|
"@hookform/resolvers": "^3.1.0",
|
|
"@mui/icons-material": "^5.11.11",
|
|
"@mui/material": "^5.11.15",
|
|
"@mui/system": "^5.11.15",
|
|
"@nymproject/mui-theme": "^1.0.0",
|
|
"@nymproject/nym-validator-client": "0.19.0",
|
|
"@nymproject/react": "^1.0.0",
|
|
"@nymproject/types": "^1.0.0",
|
|
"@nymproject/extension-storage": "file:./storage/pkg",
|
|
"@storybook/react": "^6.5.16",
|
|
"big.js": "^6.2.1",
|
|
"crypto-js": "^4.1.1",
|
|
"qrcode.react": "^3.1.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-error-boundary": "^4.0.3",
|
|
"react-hook-form": "^7.43.9",
|
|
"react-router-dom": "^6.9.0",
|
|
"zod": "^3.21.4"
|
|
},
|
|
"devDependencies": {
|
|
"@nymproject/eslint-config-react-typescript": "^1.0.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
"@svgr/webpack": "^6.1.1",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@types/big.js": "^6.1.6",
|
|
"@types/crypto-js": "4.1.1",
|
|
"@types/jest": "^27.0.1",
|
|
"@types/node": "^18.16.1",
|
|
"@types/react": "^18.0.26",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
"@typescript-eslint/parser": "^5.13.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"dotenv-webpack": "^8.0.1",
|
|
"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.12",
|
|
"favicons-webpack-plugin": "^5.0.2",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"jest": "^27.1.0",
|
|
"mini-css-extract-plugin": "^2.2.2",
|
|
"prettier": "^2.8.7",
|
|
"react-refresh": "^0.14.0",
|
|
"react-refresh-typescript": "^2.0.8",
|
|
"style-loader": "^3.3.1",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-loader": "^9.4.2",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.6.2",
|
|
"url-loader": "^4.1.1",
|
|
"util": "^0.12.5",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1",
|
|
"webpack-dev-server": "^4.5.0",
|
|
"webpack-favicons": "^1.3.8",
|
|
"webpack-merge": "^5.8.0"
|
|
}
|
|
}
|